Parent Directory
|
Revision Log
|
Patch
revision 53 by rakin, Mon Jul 29 17:28:23 2024 UTC | revision 144 by rakin, Mon Jul 29 17:28:46 2024 UTC | |
---|---|---|
# | Line 31 export default <Route> { | Line 31 export default <Route> { |
31 | role_commands: z.any(), | role_commands: z.any(), |
32 | }); | }); |
33 | ||
34 | console.log(req.body.data); | console.log(req.body.data); |
35 | ||
36 | if (!req.body.data || !Config.safeParse(req.body.data).success) { | if (!req.body.data || !Config.safeParse(req.body.data).success) { |
37 | res.status(422).json({ | res.status(422).json({ |
38 | status: 422, | status: 422, |
39 | message: "Unprocessable entity" | message: "Unprocessable entity", |
40 | trace: Config.safeParse(req.body.data) | |
41 | }); | }); |
42 | ||
43 | return; | return; |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |