Show Body 3

This commit is contained in:
Josef 2025-11-11 12:06:09 +01:00
parent 3fc1c3b758
commit d496c6bc70
1 changed files with 2 additions and 2 deletions

View File

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