npm run format

This commit is contained in:
Danny Coates 2017-07-21 17:01:26 -07:00
parent 5ed4db9689
commit 0d5fb1740d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
11 changed files with 241 additions and 216 deletions

View file

@ -83,8 +83,8 @@ function ttl(id) {
} else {
reject(err);
}
})
})
});
});
}
function filename(id) {
@ -235,8 +235,8 @@ function awsSet(newId, file, filename, meta) {
hitLimit = true;
upload.abort();
});
return upload.promise()
.then(() => {
return upload.promise().then(
() => {
redis_client.hmset(newId, meta);
redis_client.expire(newId, 86400000);
log.info('awsUploadFinish', 'Upload Finished of ' + filename);
@ -247,7 +247,8 @@ function awsSet(newId, file, filename, meta) {
} else {
throw err;
}
});
}
);
}
function awsDelete(id, delete_token) {