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
This newest version breaks something but I have no idea what it is :)
My code in production looks like this:
req.sanitize('item').toString();
the value 'item' is an integer - when 0 the sanitize function returns undefined. any other integer seems fine. Downgrading my express-validator version in my package.json file to 2.11.0 restores functionality.
The text was updated successfully, but these errors were encountered:
This newest version breaks something but I have no idea what it is :)
My code in production looks like this:
req.sanitize('item').toString();
the value 'item' is an integer - when 0 the sanitize function returns undefined. any other integer seems fine. Downgrading my express-validator version in my package.json file to 2.11.0 restores functionality.
The text was updated successfully, but these errors were encountered: