fix: change user status type from string to number and update badge rendering logic
This commit is contained in:
@@ -12,7 +12,7 @@ const subscribeResponseSchema = z.object({
|
||||
subscribe_plan_id: z.string(),
|
||||
start_date: z.string(),
|
||||
end_date: z.string().nullable(),
|
||||
status: z.string(),
|
||||
status: z.number(),
|
||||
auto_renew: z.boolean(),
|
||||
subscribe_plan: subscribePlanResponseSchema,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user