Closed Donluigimx closed 1 year ago
I'm working in a project where we have two User models. When I logged in with a user that isn't specified as userModel in component-config.json, the /lib/middleware/user-context.js throws an Error in line 33 that, I think, shouldn't being throw.
component-config.json
/lib/middleware/user-context.js
33
I'm working in a project where we have two User models. When I logged in with a user that isn't specified as userModel in
component-config.json
, the/lib/middleware/user-context.js
throws an Error in line33
that, I think, shouldn't being throw.