From 86bcdef13d12c43e646450132eb13d9524864a0f Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Fri, 1 Nov 2024 12:10:30 -0400 Subject: [PATCH] [task] Fix small bug --- vrobbler/apps/tasks/webhooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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={