use item.poster_frame if set
This commit is contained in:
parent
5a844b0a14
commit
67630fa9ed
3 changed files with 24 additions and 9 deletions
|
|
@ -373,6 +373,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)
|
||||
response = json_response()
|
||||
else:
|
||||
response = json_response(status=403, text='permissino denied')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue