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
I'm trying to implement express-mongo-sanitize with Express 5.0.1.
No matter the configuration, after adding express-mongo-sanitize I get the error:
TypeError: Cannot set property query of #<IncomingMessage> which has only a getter
at C:\***\node_modules\express-mongo-sanitize\index.js:113:18 // points to: req[key] = target;
at Array.forEach (<anonymous>)
Any ideas if it's possible to make express-mongo-sanitize work with Express 5?
The text was updated successfully, but these errors were encountered:
I'm trying to implement express-mongo-sanitize with Express 5.0.1.
No matter the configuration, after adding express-mongo-sanitize I get the error:
Any ideas if it's possible to make express-mongo-sanitize work with Express 5?
The text was updated successfully, but these errors were encountered: