feat: updated ui

This commit is contained in:
=
2025-05-15 00:56:53 +05:30
parent 3d2b2cbbab
commit 52f8c6adba
5 changed files with 89 additions and 27 deletions
+4 -1
View File
@@ -55,7 +55,10 @@ export const registerUserRouter = async (server: FastifyZodProvider) => {
schema: {
response: {
200: z.object({
users: UsersSchema.extend({ isMyAccount: z.boolean() }).array()
users: UsersSchema.extend({
isMyAccount: z.boolean(),
organizations: z.object({ name: z.string(), slug: z.string() }).array()
}).array()
})
}
},