Short urls 2 #93

Merged
bones7242 merged 8 commits from short-urls-2 into master 2017-07-20 08:16:30 +02:00
Showing only changes of commit d4ffd3c80a - Show all commits

View file

@ -10,11 +10,10 @@ module.exports = {
if (result && (typeof result !== 'string')) {
result = result.toString();
}
// // make sure the ip address(es) are a string
// make sure the ip address(es) are a string
if (ipAddress && (typeof ipAddress !== 'string')) {
ipAddress = ipAddress.toString();
}
logger.silly(name, claimId);
db.File
.findOne({where: { name, claimId }})
.then(file => {
@ -25,7 +24,6 @@ module.exports = {
} else {
FileId = null;
}
logger.silly('file id:', FileId);
return db.Request
.create({
action,