refactor: transform payload status to number in subscribe plan requests and update type definitions
This commit is contained in:
@@ -15,7 +15,7 @@ const subscribePlanResponseSchema = z.object({
|
||||
data: z.array(subscribePlanSchema),
|
||||
})
|
||||
|
||||
export type TSubscribePlanSchema = z.infer<typeof subscribePlanSchema>
|
||||
export type TSubscribePlanResponse = z.infer<typeof subscribePlanSchema>
|
||||
|
||||
export const getSubscribePlan = async (parameters?: THttpServer) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user