From 1ec86f43ff1ef3ae833f9620f1098c4231b011a9 Mon Sep 17 00:00:00 2001 From: Arvid Norlin Date: Wed, 24 Apr 2024 16:21:17 +0200 Subject: [PATCH] fix: remove gender from user profile since it is removed in the api --- server/routers/user/output.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/routers/user/output.ts b/server/routers/user/output.ts index 4735f4eed..a38e735af 100644 --- a/server/routers/user/output.ts +++ b/server/routers/user/output.ts @@ -1,6 +1,7 @@ -import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countries" import { z } from "zod" +import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countries" + export const getUserSchema = z.object({ address: z.object({ city: z.string().optional(), @@ -10,7 +11,6 @@ export const getUserSchema = z.object({ }), dateOfBirth: z.string(), email: z.string().email(), - gender: z.string(), name: z.string(), language: z.string(), lastName: z.string(),