From 207bcd47dfb1f72332447ed72d4c4f3820ac085f Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Tue, 31 Oct 2023 19:00:37 +0100 Subject: [PATCH] [Frontend] User Registration: fix username value. --- frontend/src/app/modules/auth/core/_requests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/modules/auth/core/_requests.ts b/frontend/src/app/modules/auth/core/_requests.ts index 7284bf9..e4a93c3 100644 --- a/frontend/src/app/modules/auth/core/_requests.ts +++ b/frontend/src/app/modules/auth/core/_requests.ts @@ -39,7 +39,7 @@ export async function register( password: string, ) { return await new CreateUserApi().createUser({ - username: email, + username: username, email: email, password: password, })