summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2019-11-13 12:21:42 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-11-13 14:15:43 +0100
commit9381fdf5ce30b1c3aaabab6d6296593812dd8433 (patch)
treea6ac646c086fbfd7f8d766576c0ea1735df1a3ca /admin/WebConsole/includes
parente7ad0b867a0784a432d1f6c6d4d47107a3ee8bfa (diff)
#915 Rename POST /image/setup for /setup in REST API
This patch renames the setup command to avoid semantic confusion.
Diffstat (limited to 'admin/WebConsole/includes')
-rw-r--r--admin/WebConsole/includes/restfunctions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php
index 486ac682..653fcbf3 100644
--- a/admin/WebConsole/includes/restfunctions.php
+++ b/admin/WebConsole/includes/restfunctions.php
@@ -20,7 +20,7 @@ define('OG_REST_CMD_HARDWARE', 'hardware');
define('OG_REST_CMD_SOFTWARE', 'software');
define('OG_REST_CMD_CREATE_IMAGE', 'image/create');
define('OG_REST_CMD_RESTORE_IMAGE', 'image/restore');
-define('OG_REST_CMD_SETUP', 'image/setup');
+define('OG_REST_CMD_SETUP', 'setup');
define('OG_REST_CMD_CREATE_BASIC_IMAGE', 'image/create/basic');
define('OG_REST_CMD_CREATE_INCREMENTAL_IMAGE', 'image/create/incremental');
define('OG_REST_CMD_RESTORE_BASIC_IMAGE', 'image/restore/basic');