This commit is contained in:
j 2016-08-30 19:34:15 +02:00
parent e086a93c9c
commit 89311c14b4

View file

@ -759,7 +759,7 @@ def addMediaUrl(request, data):
else:
response = json_response()
i = Item.objects.get(public_id=data['item'])
Tasks.start(i, request.user)
Task.start(i, request.user)
t = tasks.download_media.delay(data['item'], data['url'])
response['data']['taskId'] = t.task_id
add_changelog(request, data, data['item'])