Skip to content

Commit

Permalink
feat: register missing clock in contracts microservice
Browse files Browse the repository at this point in the history
  • Loading branch information
meaboutsoftware committed Apr 5, 2024
1 parent f6577d3 commit 9587955
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using EvolutionaryArchitecture.Fitnet.Common.Api.ErrorHandling;
using EvolutionaryArchitecture.Fitnet.Common.Infrastructure.Clock;
using EvolutionaryArchitecture.Fitnet.Contracts.Api;

var builder = WebApplication.CreateBuilder(args);
Expand All @@ -8,6 +9,7 @@
builder.Services.AddSwaggerGen();
builder.Services.AddSingleton(TimeProvider.System);
builder.Services.AddFeatureManagement();
builder.Services.AddClock();

builder.Services.AddContractsApi(builder.Configuration);

Expand Down

0 comments on commit 9587955

Please sign in to comment.