⚡ Optimize the post notification
This commit is contained in:
@@ -45,13 +45,6 @@ using (var scope = app.Services.CreateScope())
|
||||
{
|
||||
var db = scope.ServiceProvider.GetRequiredService<AppDatabase>();
|
||||
await db.Database.MigrateAsync();
|
||||
|
||||
// _ = Task.Run(async () =>
|
||||
// {
|
||||
// var migrationScope = app.Services.CreateScope();
|
||||
// var migrationAuthService = migrationScope.ServiceProvider.GetRequiredService<AuthService>();
|
||||
// await migrationAuthService.MigrateDeviceIdToClient();
|
||||
// });
|
||||
}
|
||||
|
||||
// Configure application middleware pipeline
|
||||
|
Reference in New Issue
Block a user