fix: confirm email changes and enforce clean backend build
This commit is contained in:
@@ -22,6 +22,8 @@ using Socialize.Api.Modules.Organizations;
|
||||
using Socialize.Api.Modules.Workspaces;
|
||||
|
||||
|
||||
const string SeededTestDataMessage = "Seeded test data.";
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
bool seedTestData = args.Any(arg => string.Equals(arg, "seed-testdata", StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
@@ -94,7 +96,7 @@ if (seedTestData)
|
||||
await app.UseAppDataAsync();
|
||||
await app.UseIdentityModuleAsync();
|
||||
await app.Services.SeedTestDataAsync();
|
||||
Console.WriteLine("Seeded test data.");
|
||||
Console.WriteLine(SeededTestDataMessage);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user