From 24650a0b08c8f49df62cccfddfe5e5e63287f755 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Tue, 23 Jun 2020 09:37:08 +0200 Subject: [PATCH] fix endpoint for sending commands to ICs --- src/ic/ics-data-manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ic/ics-data-manager.js b/src/ic/ics-data-manager.js index 73d3e91..2925b1b 100644 --- a/src/ic/ics-data-manager.js +++ b/src/ic/ics-data-manager.js @@ -26,7 +26,7 @@ class IcsDataManager extends RestDataManager { doActions(ic, action, token = null) { // TODO: Make only infrastructure component id dependent - RestAPI.post(this.makeURL(this.url + '/' + ic.id), action, token).then(response => { + RestAPI.post(this.makeURL(this.url + '/' + ic.id + '/action'), action, token).then(response => { AppDispatcher.dispatch({ type: 'ics/action-started', data: response