ugh, little mistake

This commit is contained in:
Pitu 2017-10-04 15:20:07 -03:00
parent 759943f798
commit 3c2ba4868a
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ uploadsController.upload = async (req, res, next) => {
description: 'Album doesn\'t exist or it doesn\'t belong to the user' description: 'Album doesn\'t exist or it doesn\'t belong to the user'
}); });
} }
return uploadsController.actuallyUpload(req, res, user.id, albumid); return uploadsController.actuallyUpload(req, res, user, albumid);
} }
return uploadsController.actuallyUpload(req, res, user, albumid); return uploadsController.actuallyUpload(req, res, user, albumid);
}; };