diff options
| author | Pitu <[email protected]> | 2017-10-04 15:20:07 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-10-04 15:20:07 -0300 |
| commit | 3c2ba4868a10283ba91ba6b59ba04faf5ed0a492 (patch) | |
| tree | 4e1c2b715d1c6d54933f87e0941138f7e5725c9c /controllers | |
| parent | whoops (diff) | |
| download | host.fuwn.me-3c2ba4868a10283ba91ba6b59ba04faf5ed0a492.tar.xz host.fuwn.me-3c2ba4868a10283ba91ba6b59ba04faf5ed0a492.zip | |
ugh, little mistake
Diffstat (limited to 'controllers')
| -rw-r--r-- | controllers/uploadController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/uploadController.js b/controllers/uploadController.js index 508a30e..3fb9b55 100644 --- a/controllers/uploadController.js +++ b/controllers/uploadController.js @@ -49,7 +49,7 @@ uploadsController.upload = async (req, res, next) => { 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); }; |