You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, could you set the requireAuth to false and add the authenticate middleware from medusa before your handler.
Those routes are not meant to be overridden originally but you can achieve that the way i gave you above. In the future, it is likely that those routes will call an auth strategy instead of being implemented. Which means that when it will happen, you will likely have to update the strategy to return what you want. But at the moment, this is the way to do it 💪
Describe the bug
The route method is not overriding, or I'm doing it wrong but can't find anything besides the marketplace example.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
we should receive a JSON like
{ user: cleanRes, test: 'test' }
instead of just
{ user: cleanRes }
Screenshots
not applicable?
Package version:
Additional context
I think all it's clear, but I can answer any question fast.
The text was updated successfully, but these errors were encountered: