lijian 1 سال پیش
والد
کامیت
34d94f6040
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/apiprovider/router.go

+ 1 - 1
services/apiprovider/router.go

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