fix: allow end_date to be nullable in user response schema
This commit is contained in:
parent
0da2006e78
commit
634c809489
@ -11,7 +11,7 @@ const userResponseSchema = z.object({
|
|||||||
id: z.string(),
|
id: z.string(),
|
||||||
subscribe_plan_id: z.string(),
|
subscribe_plan_id: z.string(),
|
||||||
start_date: z.string(),
|
start_date: z.string(),
|
||||||
end_date: z.string(),
|
end_date: z.string().nullable(),
|
||||||
status: z.string(),
|
status: z.string(),
|
||||||
auto_renew: z.boolean(),
|
auto_renew: z.boolean(),
|
||||||
subscribe_plan: z.object({
|
subscribe_plan: z.object({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user