refactor: add created_at field to user response schema and update dashboard display
This commit is contained in:
@@ -21,6 +21,7 @@ const userResponseSchema = z.object({
|
||||
email: z.string().email(),
|
||||
phone: z.string(),
|
||||
subscribe: subscribeResponseSchema,
|
||||
created_at: z.string(),
|
||||
})
|
||||
const usersResponseSchema = z.object({
|
||||
data: z.array(userResponseSchema),
|
||||
|
||||
Reference in New Issue
Block a user