Browse Source

ugh, little mistake

Pitu 7 years ago
parent
commit
3c2ba4868a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/uploadController.js

+ 1 - 1
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);
 };