Skip to content

Fix for acceptFileTypes option #82

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

Closed
wants to merge 1 commit into from
Closed

Conversation

davej
Copy link

@davej davej commented Jul 4, 2018

Getting this error in node 10.5.0 when I specify the acceptFileTypes option and the uploaded file does not pass.

TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
{snip}node_modules/jquery-file-upload-middleware/lib/uploadhandler.js:115:32

This PR fixes that issue.

@davej davej closed this Mar 7, 2023
@davej davej deleted the patch-1 branch March 7, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant