Browse Source

remove check config

lijian 2 năm trước cách đây
mục cha
commit
5e3c064584
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      services/apiprovider/router.go

+ 1 - 1
services/apiprovider/router.go

@@ -54,7 +54,7 @@ func route(m *martini.ClassicMartini) {
 
 		// send a command to device
 		r.Post("/devices/:identifier/commands",
-			ApplicationAuthOnDeviceIdentifer, CheckDeviceOnline, CheckProductConfig,
+			ApplicationAuthOnDeviceIdentifer, CheckDeviceOnline,
 			SendCommandToDevice)
 
 		// and a rule to device