Issue with Writing Files
johnlohit opened this issue · 0 comments
johnlohit commented
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.