fix (#157)
parent
22eb80674a
commit
68595958dd
|
@ -5,8 +5,8 @@ var builder = WebApplication.CreateBuilder();
|
|||
|
||||
builder.Services.AddAuthentication().AddJwtBearer();
|
||||
builder.Services.AddAuthorization();
|
||||
builder.Services.AddSingleton<IAuthorizationHandler, MinimumAgeAuthorizationHandler>();
|
||||
builder.Services.AddControllers();
|
||||
builder.Services.AddSingleton<IAuthorizationHandler, MinimumAgeAuthorizationHandler>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
|
Loading…
Reference in New Issue