rest: register image/update as a valid request

Accept both image/create and image/update requests from ogServer.
master
Alejandro Sirgo Rica 2025-01-31 14:31:17 +01:00
parent 574822907d
commit f67f3c598a
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ class ogRest():
self.process_imagerestore(client, request)
elif ("stop" in URI):
self.process_stop(client)
elif ("image/create" in URI):
elif ("image/create" in URI or "image/update" in URI):
self.process_imagecreate(client, request)
elif ("cache/delete" in URI):
self.process_cache_delete(client, request)