Fixes query syntax

This commit is contained in:
Mouse Reeve 2022-05-31 13:55:46 -07:00
parent cf17c3e793
commit fa15218980

View file

@ -304,7 +304,7 @@ def add_status_on_create_command(sender, instance, created):
priority = LOW
# don't add imported statuses to feeds
if models.ImportItem.objects.exists(linked_review=instance):
if models.ImportItem.objects.filter(linked_review=instance).exists():
return
add_status_task.apply_async(