Answer the question
In order to leave comments, you need to log in
How to pass data from middleware to next method?
Hello everyone, mb stupid question, but how to pass data from middlevare to the next method?
This is what the controller looks like
UserController.get(
"",
AuthorizeMiddleware,
RolesMiddleware(["ADMIN", "USER"]),
UserService.getUsers
)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question