From 01f9cf06ca4f8654508e569ba1fd8808345d192b Mon Sep 17 00:00:00 2001 From: "fredy.siswanto" Date: Fri, 14 Mar 2025 04:58:49 +0700 Subject: [PATCH] fix: change user status type from string to number in userResponseSchema --- app/apis/news/get-user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apis/news/get-user.ts b/app/apis/news/get-user.ts index e291b33..b835871 100644 --- a/app/apis/news/get-user.ts +++ b/app/apis/news/get-user.ts @@ -12,7 +12,7 @@ const userResponseSchema = 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: z.object({ id: z.string(),