mirror of
https://github.com/jsbin/jsbin.git
synced 2026-01-25 15:38:56 +00:00
Update dropbox module api to take file, fileNAme & user
consider taking oauth_token rather than user?
This commit is contained in:
parent
69e199ce5b
commit
e72fb558b4
@ -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
|
||||
});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user