This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Services/Catalog/Catalog.API Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 27
27
eventBus . Subscribe < OrderStatusChangedToAwaitingValidationIntegrationEvent , OrderStatusChangedToAwaitingValidationIntegrationEventHandler > ( ) ;
28
28
eventBus . Subscribe < OrderStatusChangedToPaidIntegrationEvent , OrderStatusChangedToPaidIntegrationEventHandler > ( ) ;
29
29
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
31
31
using ( var scope = app . Services . CreateScope ( ) )
32
32
{
33
33
var context = scope . ServiceProvider . GetRequiredService < CatalogContext > ( ) ;
36
36
await context . Database . MigrateAsync ( ) ;
37
37
38
38
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 ( ) ;
41
41
}
42
42
43
43
await app . RunAsync ( ) ;
You can’t perform that action at this time.
0 commit comments