Browse Source

Removing Debug code

pull/2128/head
Roberto Borges 1 year ago
parent
commit
5da4dff0da
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      src/Services/Identity/Identity.API/SeedData.cs

+ 1
- 8
src/Services/Identity/Identity.API/SeedData.cs View File

@ -9,14 +9,7 @@ public class SeedData
await retryPolicy.ExecuteAsync(async () =>
{
try
{
await context.Database.MigrateAsync();
}
catch (Exception)
{
//If running on Docker on command line Migrations will take place automaticaly
}
await context.Database.MigrateAsync();
var userMgr = scope.ServiceProvider.GetRequiredService<UserManager<ApplicationUser>>();
var alice = await userMgr.FindByNameAsync("alice");


Loading…
Cancel
Save