Show Body

This commit is contained in:
Josef 2025-11-11 12:03:55 +01:00
parent 1cceda03df
commit 58d4780a3b
1 changed files with 3 additions and 0 deletions

View File

@ -30,7 +30,10 @@ export class SignUpHandler extends RequestHandler
async _handle( request:FastifyRequest, reply:FastifyReply )
{
let requestBody = JSON.parse( request.body as string );
RJLog.log( "Body:", request.body, "Parsed:", requestBody );
let { email, password, userName } = requestBody as { email: string; password: string; userName: string };
if ( ! email || ! password )