feat: add debug registration endpoint, fix snowflake serialization

This commit is contained in:
sam 2024-06-04 17:38:59 +02:00
parent 852036a6f7
commit 588afeec20
14 changed files with 646 additions and 10 deletions

View file

@ -8,6 +8,6 @@ namespace Foxnouns.Backend.Controllers;
[Authenticate]
public class ApiControllerBase : ControllerBase
{
internal Token? Token => HttpContext.GetToken();
internal new User? User => HttpContext.GetUser();
internal Token? CurrentToken => HttpContext.GetToken();
internal User? CurrentUser => HttpContext.GetUser();
}