Skip to content
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

Issue with Writing Files #46

Open
johnlohit opened this issue Sep 23, 2019 · 0 comments
Open

Issue with Writing Files #46

johnlohit opened this issue Sep 23, 2019 · 0 comments

Comments

@johnlohit
Copy link

The write function returns null for the error and file objects. The file gets saved to the database though.
I looked through your source code and found that changing line 94 of schema.js
from: this.constructor.findById(created._id, done);
to bucket.findById(created._id, done);
fixes the problem.

My Node Version is 10.16.0.

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

No branches or pull requests

1 participant