|
@@ -71,7 +71,7 @@ func route(m *martini.ClassicMartini) {
|
|
|
// send a command to device
|
|
|
r.Post("/devices/:identifier/commands",
|
|
|
ApplicationAuthOnDeviceIdentifer, CheckDeviceOnline, CheckProductConfig,
|
|
|
- SendCommandToDevice)
|
|
|
+ SendCommandToDeviceV2)
|
|
|
})
|
|
|
|
|
|
m.Post("/application/auth", AppAuth)
|