Skip to content

Commit 5edd230

Browse files
committed
fix types
1 parent 361e5d0 commit 5edd230

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/server/src/routers/room.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,7 @@ export const roomRouter = router({
4242
z.object({
4343
roomId: z.string(),
4444
email: z.string().email(),
45-
location: z.enum<
46-
UserLocation,
47-
readonly [UserLocation, ...UserLocation[]]
48-
>(["InPerson", "Online", "Proxy"]),
45+
location: z.enum(["InPerson", "Online", "Proxy"] as UserLocation[]),
4946
}),
5047
)
5148
.mutation(async ({ input }) => {

0 commit comments

Comments
 (0)