diff --git a/daiquiri/datalink/viewsets.py b/daiquiri/datalink/viewsets.py index 7ba5a6409..52f7e5c00 100644 --- a/daiquiri/datalink/viewsets.py +++ b/daiquiri/datalink/viewsets.py @@ -24,6 +24,8 @@ def perform_sync_job(self, request, data): if 'ID' in data: identifiers = data.getlist('ID') + else: + identifiers = [] adapter = DatalinkAdapter()