added dapnet support, finally working ;-)

master
cheetah 4 years ago
parent 90e2391a8f
commit 8ea029fec2

@ -26,7 +26,7 @@ class DAPNETConnector extends Connector {
password: config.connectors.dapnet.password password: config.connectors.dapnet.password
} }
} }
console.log(config.connectors.dapnet.endpoint, dapnetRequest, extraParameters) // console.log(config.connectors.dapnet.endpoint, dapnetRequest, extraParameters)
return axios.post(config.connectors.dapnet.endpoint, dapnetRequest, extraParameters) return axios.post(config.connectors.dapnet.endpoint, dapnetRequest, extraParameters)
.then(() => { .then(() => {
this.connectorRegistry.reportState(msg, UUID, 'routed') this.connectorRegistry.reportState(msg, UUID, 'routed')

Loading…
Cancel
Save