aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers/users.ts
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-03-05 19:51:50 +0000
committerMohamedBassem <me@mbassem.com>2024-03-05 19:57:43 +0000
commitaceece8a41b17c14cc9767041ab714f899ce6175 (patch)
tree5c593fb3c27e61b97d5b5ff34c37aee5b8e8dde7 /packages/trpc/routers/users.ts
parent2413f0efee2dcb4cd4c9389f5a496d4b3f71335c (diff)
downloadkarakeep-aceece8a41b17c14cc9767041ab714f899ce6175.tar.zst
build: Fix the web build
Diffstat (limited to 'packages/trpc/routers/users.ts')
-rw-r--r--packages/trpc/routers/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/trpc/routers/users.ts b/packages/trpc/routers/users.ts
index efef61af..1a851b05 100644
--- a/packages/trpc/routers/users.ts
+++ b/packages/trpc/routers/users.ts
@@ -99,8 +99,8 @@ export const usersAppRouter = router({
.output(
z.object({
id: z.string(),
- name: z.string(),
- email: z.string(),
+ name: z.string().nullish(),
+ email: z.string().nullish(),
}),
)
.query(async ({ ctx }) => {