views: use new POST image/update to update image

use new POST image/update when updating an image.
master
OpenGnSys Support Team 2023-12-19 12:50:25 +01:00
parent 739053fc20
commit 3c7e3e1e3b
1 changed files with 1 additions and 1 deletions

View File

@ -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: