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:
parent
eb1756852b
commit
24650a0b08
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue