Skip to content

Commit

Permalink
Merge pull request #1019 from AlexsLemonade/avrohom/hot-fix-dispatch-…
Browse files Browse the repository at this point in the history
…to-batch

Hot Fix - dispatch_to_batch is null bug
  • Loading branch information
avrohomgottlieb authored Dec 9, 2024
2 parents 7ee62af + 1578b57 commit 1d8036e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/scpca_portal/management/commands/dispatch_to_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def dispatch_to_batch(self, project_id: str = "", **kwargs):
within that project.
"""
projects = (
Project.objects.filter(project_computed_files__is_null=True)
Project.objects.filter(project_computed_files__isnull=True)
if not project_id
else Project.objects.filter(scpca_id=project_id)
)
Expand Down

0 comments on commit 1d8036e

Please sign in to comment.