diff --git a/vrobbler/apps/tasks/webhooks.py b/vrobbler/apps/tasks/webhooks.py index b915b23..92a1f00 100644 --- a/vrobbler/apps/tasks/webhooks.py +++ b/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={