Skip to content

Commit f2e62f8

Browse files
committed
fix missing binding this
1 parent b97e921 commit f2e62f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/uploadhandler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ module.exports = function (options) {
5151
else cb(err);
5252
}, this));
5353
}, this),
54-
function(err) {
54+
_.bind(function(err) {
5555
if (err) console.log(err);
5656
this.callback({files: files});
57-
});
57+
}, this));
5858
}, this));
5959
};
6060

0 commit comments

Comments
 (0)