Browse Source

fix(media): getRatings not available to logged out users

Owen Diffey 2 years ago
parent
commit
84519e6ad7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      backend/logic/actions/media.js

+ 2 - 2
backend/logic/actions/media.js

@@ -704,7 +704,7 @@ export default {
 	 * @param cb
 	 */
 
-	getRatings: isLoginRequired(async function getRatings(session, youtubeId, cb) {
+	async getRatings(session, youtubeId, cb) {
 		async.waterfall(
 			[
 				next => {
@@ -742,7 +742,7 @@ export default {
 				});
 			}
 		);
-	}),
+	},
 
 	/**
 	 * Gets user's own ratings