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:
1 parent
6d621e0b60
commit
eae779b81c
3 files changed
+8
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user