Colin Powell пре 8 месеци
родитељ
комит
86bcdef13d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      vrobbler/apps/tasks/webhooks.py

+ 1 - 1
vrobbler/apps/tasks/webhooks.py

@@ -72,7 +72,7 @@ def todoist_webhook(request):
             else False,
         }
 
-    if not todoist_note or todoist_event:
+    if (is_added and not todoist_note) or (is_updated and not todoist_task):
         logger.info(
             "[todoist_webhook] ignoring wrong todoist type, event or labels",
             extra={