taskId must be in data

This commit is contained in:
j 2016-09-07 20:23:31 +02:00
parent 4d9761a32c
commit bea661abcf
1 changed files with 1 additions and 1 deletions

View File

@ -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)