fix: allow any membership level
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
import { z } from "zod"
|
||||
|
||||
import { MembershipLevelEnum } from "@/constants/membershipLevels"
|
||||
|
||||
import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countries"
|
||||
|
||||
export const getUserSchema = z.object({
|
||||
@@ -22,7 +20,7 @@ export const getUserSchema = z.object({
|
||||
currentPoints: z.number(),
|
||||
expirationDate: z.string(),
|
||||
membershipNumber: z.string(),
|
||||
membershipLevel: z.nativeEnum(MembershipLevelEnum).optional(),
|
||||
membershipLevel: z.string().optional(),
|
||||
memberSince: z.string(),
|
||||
membershipType: z.string(),
|
||||
nextLevel: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user