refactor(handlers): extract request validation logic to new function
Extract the request validation logic from ValidateRequest into a new ValidateRequestWithBody function to allow passing pre-read request bodies. Update all handler functions to use the new validation function for consistency and to avoid duplicate body reading.
This commit is contained in:
1 parent
39a4479203
commit
275e08a1a5
3 files changed
+22
-4
No files matched your search
Binary file not shown.
Reference in new issue
Block a user