added connection string logging
This commit is contained in:
@ -128,6 +128,7 @@ namespace IO.Swagger
|
||||
{
|
||||
throw new Exception("Database connection string not found in environment variable.");
|
||||
}
|
||||
Console.WriteLine(connectionString);
|
||||
services.AddScoped<IUserRepository, UserRepository>();
|
||||
services.AddDbContext<BankDbContext>(x => x.UseSqlServer(connectionString: connectionString));
|
||||
services.AddSingleton<JwtService>();
|
||||
|
||||
Reference in New Issue
Block a user