add missing validation for logging

This commit is contained in:
Markos Gogoulos 2021-06-18 15:37:09 +03:00
parent f74d3c4b57
commit 8145ba0914

View File

@ -592,7 +592,7 @@ def save_user_action(user_or_session, friendly_token=None, action="watch", extra
if not (user or session_key):
return False
if action in ["like", "dislike", "report"]:
if action in ["like", "dislike", "watch", "report"]:
if not pre_save_action(
media=media,
user=user,