typo
This commit is contained in:
parent
e086a93c9c
commit
89311c14b4
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue