mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-13 20:10:07 +02:00
Add validations, req.authUser
This commit is contained in:
@@ -20,7 +20,7 @@ const list = {
|
||||
|
||||
const detail = {
|
||||
body: z.object({}),
|
||||
params: z.object(idValidation),
|
||||
params: z.object({ ...idValidation('id') }),
|
||||
query: z.object({}),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user