From bea661abcff264e472b2b3438ac1ed34894365e9 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 7 Sep 2016 20:23:31 +0200 Subject: [PATCH] taskId must be in data --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 8fd13d658..2d0cc4adb 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -704,7 +704,7 @@ def updateExternalData(request, data): response = json_response() if item.editable(request.user): t = tasks.update_external.delay(item.public_id) - response['taskId'] = t.task_id + response['data']['taskId'] = t.task_id else: response = json_response(status=403, text='permission denied') return render_to_json_response(response)