poster api fixes
This commit is contained in:
parent
d532558dfc
commit
b93d1b1190
3 changed files with 30 additions and 26 deletions
|
|
@ -452,7 +452,7 @@ def setPosterFrame(request): #parse path and return info
|
|||
#FIXME: some things need to be updated after changing this
|
||||
item.poster_frame = data['position']
|
||||
item.save()
|
||||
tasks.update_poster.delay(item.itemId)
|
||||
tasks.update_poster(item.itemId)
|
||||
response = json_response()
|
||||
else:
|
||||
response = json_response(status=403, text='permissino denied')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue