🗑️ Remove the client id migration code

This commit is contained in:
2025-08-14 21:05:56 +08:00
parent 740d9a33cf
commit f273445451

View File

@@ -46,12 +46,12 @@ using (var scope = app.Services.CreateScope())
var db = scope.ServiceProvider.GetRequiredService<AppDatabase>(); var db = scope.ServiceProvider.GetRequiredService<AppDatabase>();
await db.Database.MigrateAsync(); await db.Database.MigrateAsync();
_ = Task.Run(async () => // _ = Task.Run(async () =>
{ // {
var migrationScope = app.Services.CreateScope(); // var migrationScope = app.Services.CreateScope();
var migrationAuthService = migrationScope.ServiceProvider.GetRequiredService<AuthService>(); // var migrationAuthService = migrationScope.ServiceProvider.GetRequiredService<AuthService>();
await migrationAuthService.MigrateDeviceIdToClient(); // await migrationAuthService.MigrateDeviceIdToClient();
}); // });
} }
// Configure application middleware pipeline // Configure application middleware pipeline