mirror of https://git.48k.eu/ogcp
views: use new POST image/update to update image
use new POST image/update when updating an image.master
parent
739053fc20
commit
3c7e3e1e3b
|
@ -1303,7 +1303,7 @@ def action_image_update():
|
|||
# Dummy parameters, not used by ogServer on image update.
|
||||
'group_id': 0,
|
||||
'center_id': 0}
|
||||
r = server.post('/image/create', payload)
|
||||
r = server.post('/image/update', payload)
|
||||
if r.status_code == requests.codes.ok:
|
||||
flash(_('Image update command sent sucessfully'), category='info')
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue