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

Commit 905bcf7

Browse files
authored
Merge pull request #2136 from eerhardt/patch-1
Fix some spelling errors
2 parents 06d5164 + b62e5d1 commit 905bcf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Services/Catalog/Catalog.API/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
eventBus.Subscribe<OrderStatusChangedToAwaitingValidationIntegrationEvent, OrderStatusChangedToAwaitingValidationIntegrationEventHandler>();
2828
eventBus.Subscribe<OrderStatusChangedToPaidIntegrationEvent, OrderStatusChangedToPaidIntegrationEventHandler>();
2929

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

3838
await new CatalogContextSeed().SeedAsync(context, app.Environment, settings, logger);
39-
var integEventContext = scope.ServiceProvider.GetRequiredService<IntegrationEventLogContext>();
40-
await integEventContext.Database.MigrateAsync();
39+
var integrationEventLogContext = scope.ServiceProvider.GetRequiredService<IntegrationEventLogContext>();
40+
await integrationEventLogContext.Database.MigrateAsync();
4141
}
4242

4343
await app.RunAsync();

0 commit comments

Comments
 (0)