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)