Change args in middleware #1277
Answered
by
MichalLytek
carlocorradini
asked this question in
Q&A
Replies: 1 comment 1 reply
-
action.args = removeNull(action.args);
return next(); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
carlocorradini
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to create a simple middleware that removes null value from args.
Example:
I've tried with sync/async middleware without success.
How can I update
args
and call next?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions