Signin and Register now give a token added ps1 script to start servers

This commit is contained in:
2026-05-04 21:46:48 -04:00
parent f8b595f609
commit a9d2fd64de
3 changed files with 96 additions and 14 deletions

View File

@@ -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) =>
{