fix broken file uploads
This commit is contained in:
parent
6cfce42c58
commit
ccd0b580f8
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ var reportStatus = function (Env, label, safeKey, err, id, size) {
|
|||
|
||||
const completeUpload = function (data, cb) {
|
||||
if (!data) { return void cb('INVALID_ARGS'); }
|
||||
if (typeof(data.key) !== 'string') { return void cb("INVALID_KEY"); }
|
||||
if (typeof(data.safeKey) !== 'string') { return void cb("INVALID_KEY"); }
|
||||
var owned = data.owned;
|
||||
var safeKey = Util.escapeKeyCharacters(data.safeKey);
|
||||
var arg = data.arg;
|
||||
|
|
Loading…
Reference in a new issue