Merge remote-tracking branch 'origin/main' into feat-admin-signup

This commit is contained in:
Salman
2024-02-14 23:46:25 +05:30
76 changed files with 995 additions and 5549 deletions
+4 -2
View File
@@ -74,7 +74,8 @@ export const registerAdminRouter = async (server: FastifyZodProvider) => {
200: z.object({
message: z.string(),
user: UsersSchema,
token: z.string()
token: z.string(),
new: z.string()
})
}
},
@@ -109,7 +110,8 @@ export const registerAdminRouter = async (server: FastifyZodProvider) => {
return {
message: "Successfully set up admin account",
user: user.user,
token: token.access
token: token.access,
new: "123"
};
}
});