Frontend WIP - just websocket support left

This commit is contained in:
2025-02-09 21:23:27 -07:00
parent f73bd53214
commit e7641f6aec
19 changed files with 484 additions and 132 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ Future<Response> onRequest(RequestContext context) async {
try {
// Parse the request body
final body = await context.request.json() as Map<String, dynamic>;
final createUserReq = CreateUserRequest.fromJson(body);
final body = await context.request.json();
final createUserReq = CreateUserRequest.fromJson(body as Map<String, dynamic>);
// Generate token
final authenticator = context.read<Authenticator>();