Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix some spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
eerhardt committed Jul 25, 2023
1 parent 06d5164 commit b62e5d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Services/Catalog/Catalog.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
eventBus.Subscribe<OrderStatusChangedToAwaitingValidationIntegrationEvent, OrderStatusChangedToAwaitingValidationIntegrationEventHandler>();
eventBus.Subscribe<OrderStatusChangedToPaidIntegrationEvent, OrderStatusChangedToPaidIntegrationEventHandler>();

// REVIEW: This is done fore development east but shouldn't be here in production
// REVIEW: This is done for development ease but shouldn't be here in production
using (var scope = app.Services.CreateScope())
{
var context = scope.ServiceProvider.GetRequiredService<CatalogContext>();
Expand All @@ -36,8 +36,8 @@
await context.Database.MigrateAsync();

await new CatalogContextSeed().SeedAsync(context, app.Environment, settings, logger);
var integEventContext = scope.ServiceProvider.GetRequiredService<IntegrationEventLogContext>();
await integEventContext.Database.MigrateAsync();
var integrationEventLogContext = scope.ServiceProvider.GetRequiredService<IntegrationEventLogContext>();
await integrationEventLogContext.Database.MigrateAsync();
}

await app.RunAsync();

0 comments on commit b62e5d1

Please sign in to comment.