add missing validation for logging
This commit is contained in:
parent
f74d3c4b57
commit
8145ba0914
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue