1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

fix endpoint for sending commands to ICs

This commit is contained in:
Sonja Happ 2020-06-23 09:37:08 +02:00
parent eb1756852b
commit 24650a0b08

View file

@ -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