fix: change user status type from string to number and update badge rendering logic

This commit is contained in:
fredy.siswanto
2025-03-11 23:36:19 +07:00
parent 2c90d32a10
commit 56d9081b4f
2 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -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,
})