Skip to content

Commit a34de56

Browse files
switch to v2 manager API endpoints
1 parent 292f885 commit a34de56

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/services/comfyManagerService.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ const GENERIC_SECURITY_ERR_MSG =
1919
* API routes for ComfyUI Manager
2020
*/
2121
enum ManagerRoute {
22-
START_QUEUE = 'manager/queue/start',
23-
RESET_QUEUE = 'manager/queue/reset',
24-
QUEUE_STATUS = 'manager/queue/status',
25-
INSTALL = 'manager/queue/install',
26-
UPDATE = 'manager/queue/update',
27-
UPDATE_ALL = 'manager/queue/update_all',
28-
UNINSTALL = 'manager/queue/uninstall',
29-
DISABLE = 'manager/queue/disable',
30-
FIX_NODE = 'manager/queue/fix',
31-
LIST_INSTALLED = 'customnode/installed',
32-
GET_NODES = 'customnode/getmappings',
33-
GET_PACKS = 'customnode/getlist',
34-
IMPORT_FAIL_INFO = 'customnode/import_fail_info',
35-
REBOOT = 'manager/reboot'
22+
START_QUEUE = 'v2/manager/queue/start',
23+
RESET_QUEUE = 'v2/manager/queue/reset',
24+
QUEUE_STATUS = 'v2/manager/queue/status',
25+
INSTALL = 'v2/manager/queue/install',
26+
UPDATE = 'v2/manager/queue/update',
27+
UPDATE_ALL = 'v2/manager/queue/update_all',
28+
UNINSTALL = 'v2/manager/queue/uninstall',
29+
DISABLE = 'v2/manager/queue/disable',
30+
FIX_NODE = 'v2/manager/queue/fix',
31+
LIST_INSTALLED = 'v2/customnode/installed',
32+
GET_NODES = 'v2/customnode/getmappings',
33+
GET_PACKS = 'v2/customnode/getlist',
34+
IMPORT_FAIL_INFO = 'v2/customnode/import_fail_info',
35+
REBOOT = 'v2/manager/reboot'
3636
}
3737

3838
const managerApiClient = axios.create({

0 commit comments

Comments
 (0)