chore: update api v2 /me endpoint (#23984)

* fix: update profile me ednpoint to include name of user

* fix: update user schema

* pass name for user

* implement PR feedback

* chore: implement PR feedback

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
This commit is contained in:
Rajiv SahalandAnik Dhabal Babu authored and GitHub committed 2025-11-10 19:14:44 +00:00
1 parent 6d621e0b60
commit eae779b81c
3 files changed
+8

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ import { z } from "zod";
export const userSchemaResponse = z.object({
id: z.number().int(),
email: z.string(),
name: z.string().nullable(),
timeFormat: z.number().int().default(12),
defaultScheduleId: z.number().int().nullable(),
weekStart: z.string(),