-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError - Cannot read properties of undefined (reading 'includes') in lib/isEligibleRequest.js #364
Comments
+1 |
here's a PR that addresses the bug |
Hi, I have another idea regarding this. module.exports = (req) => {
try {
return hasBody(req) && hasAcceptableMethod(req) && hasAcceptableContentType(req);
} catch (e) {
return false;
}
}; |
Fixed with the PR #367 |
This was referenced Sep 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Since version 1.4.2 , this error appeared in our Sentry.
Seems easy to fix by checking if "contType" exist before trying to see if it "includes('boundary=')".
I'm not used to posting issues or trying to fix them but i'll do my best 😄
The text was updated successfully, but these errors were encountered: