Browse Source

ugh, little mistake

Pitu 7 năm trước cách đây
mục cha
commit
3c2ba4868a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 };