diff --git a/DysonNetwork.Pass/Program.cs b/DysonNetwork.Pass/Program.cs index dfbd67e..000b825 100644 --- a/DysonNetwork.Pass/Program.cs +++ b/DysonNetwork.Pass/Program.cs @@ -46,12 +46,12 @@ using (var scope = app.Services.CreateScope()) var db = scope.ServiceProvider.GetRequiredService(); await db.Database.MigrateAsync(); - _ = Task.Run(async () => - { - var migrationScope = app.Services.CreateScope(); - var migrationAuthService = migrationScope.ServiceProvider.GetRequiredService(); - await migrationAuthService.MigrateDeviceIdToClient(); - }); + // _ = Task.Run(async () => + // { + // var migrationScope = app.Services.CreateScope(); + // var migrationAuthService = migrationScope.ServiceProvider.GetRequiredService(); + // await migrationAuthService.MigrateDeviceIdToClient(); + // }); } // Configure application middleware pipeline @@ -64,4 +64,4 @@ app.MapPages(Path.Combine(builder.Environment.WebRootPath, "dist", "index.html") // Configure gRPC app.ConfigureGrpcServices(); -app.Run(); \ No newline at end of file +app.Run();