summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-19 12:50:25 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-12-19 12:50:25 +0100
commit3c7e3e1e3b64a1570834cf07a0002e296136c935 (patch)
tree577c8c8739954fa6af360ae1aaece5c7f0dbf7d2 /ogcp/views.py
parent739053fc201d6394995fb1c0e1e9e2ae9df9e55b (diff)
views: use new POST image/update to update image
use new POST image/update when updating an image.
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index edf61dd..7345700 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -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: