We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361e5d0 commit 5edd230Copy full SHA for 5edd230
apps/server/src/routers/room.ts
@@ -42,10 +42,7 @@ export const roomRouter = router({
42
z.object({
43
roomId: z.string(),
44
email: z.string().email(),
45
- location: z.enum<
46
- UserLocation,
47
- readonly [UserLocation, ...UserLocation[]]
48
- >(["InPerson", "Online", "Proxy"]),
+ location: z.enum(["InPerson", "Online", "Proxy"] as UserLocation[]),
49
}),
50
)
51
.mutation(async ({ input }) => {
0 commit comments