Skip to content

Commit

Permalink
fix datalink link endpoint if ID is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
kimakan authored Feb 23, 2024
2 parents 1b6a0bd + b18379c commit 5ae2a14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions daiquiri/datalink/viewsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def perform_sync_job(self, request, data):

if 'ID' in data:
identifiers = data.getlist('ID')
else:
identifiers = []

adapter = DatalinkAdapter()

Expand Down

0 comments on commit 5ae2a14

Please sign in to comment.