Closed aspdev91 closed 4 months ago
Seems like an issue with this line:
I tried logging the parameters in the minified code:
function b(t,e,o,a){o.status(400).json(t);}
and t,e,o,a do not line up with the function parameter signature in the code. When I change the code above to:
function b(t,e,o,a){o()}
it works. "o" is next and any errors parsing against the zod schema are passed to an error middleware I use.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Has anyone run into this bug/error when adding a body parameter to an API?