From 3c7e3e1e3b64a1570834cf07a0002e296136c935 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Tue, 19 Dec 2023 12:50:25 +0100 Subject: views: use new POST image/update to update image use new POST image/update when updating an image. --- ogcp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-18-g5258