From fba9910705795ccb439336121ab1804d9d74e1bb Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 15 Nov 2024 23:30:41 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20declare=20full=20and=20sh?= =?UTF-8?q?ort=20name=20in=20APIUser=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit API now serialize these two data. Save them when requestion /me. --- src/frontend/src/features/auth/api/ApiUser.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend/src/features/auth/api/ApiUser.ts b/src/frontend/src/features/auth/api/ApiUser.ts index 1f3d3447..716528c4 100644 --- a/src/frontend/src/features/auth/api/ApiUser.ts +++ b/src/frontend/src/features/auth/api/ApiUser.ts @@ -1,4 +1,6 @@ export type ApiUser = { id: string email: string + full_name: string + last_name: string }