mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Update: change identifiers to cuid
This commit is contained in:
@@ -97,7 +97,7 @@ router.put(
|
||||
getCurrentUser,
|
||||
validateRequest({
|
||||
bodySchema: EditUserSchema,
|
||||
querySchema: z.object({ id: z.string().uuid() }),
|
||||
querySchema: z.object({ id: z.string().cuid() }),
|
||||
}),
|
||||
checkIfUserCanEditUser,
|
||||
editUser,
|
||||
|
||||
Reference in New Issue
Block a user