fix: platform me data for dashboard (#16210)

This commit is contained in:
Morgan authored and GitHub committed 2024-08-15 10:12:31 +00:00
1 parent 84606543ae
commit 8477128605
10 files changed
+150 -227

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ export const userSchemaResponse = z.object({
timeZone: z.string().default("Europe/London"),
username: z.string(),
organizationId: z.number().nullable(),
organization: z.object({ isPlatform: z.boolean(), id: z.number() }).optional(),
});
export type UserResponse = z.infer<typeof userSchemaResponse>;