Revert "test breaking change"

This reverts commit 6546740bd9.
This commit is contained in:
Maidul Islam
2024-02-13 00:37:49 -05:00
parent 6546740bd9
commit b4b88daf36
+3 -3
View File
@@ -71,8 +71,8 @@ export const registerAdminRouter = async (server: FastifyZodProvider) => {
response: { response: {
200: z.object({ 200: z.object({
message: z.string(), message: z.string(),
hello: z.number(), user: UsersSchema,
user: UsersSchema token: z.string()
}) })
} }
}, },
@@ -107,7 +107,7 @@ export const registerAdminRouter = async (server: FastifyZodProvider) => {
return { return {
message: "Successfully set up admin account", message: "Successfully set up admin account",
user: user.user, user: user.user,
hello: 123 token: token.access
}; };
} }
}); });