Update dropbox module api to take file, fileNAme & user

consider taking oauth_token rather than user?
This commit is contained in:
Fabien O'Carroll 2014-03-24 19:14:48 +00:00
parent 69e199ce5b
commit e72fb558b4

View File

@ -24,12 +24,13 @@ module.exports = function (options) {
};
};
module.exports.saveBin = function (bin, user) {
module.exports.saveBin = function (file, fileName, user) {
if (!active) {
return;
}
child.send({
bin: bin,
file: file,
fileName: fileName,
user: user
});
};