Signin and Register now give a token added ps1 script to start servers
This commit is contained in:
@@ -23,7 +23,7 @@ public static class AuthEndpoints
|
||||
});
|
||||
app.MapGet("/users", async (APIAuthService service) =>
|
||||
{
|
||||
return Results.Ok(service.GetUsersAsync());
|
||||
return Results.Ok(await service.GetUsersAsync());
|
||||
});
|
||||
app.MapPost("/user/register", async (AuthRegister request, APIAuthService service, HttpContext context) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user