Explorar o código

Fixed IoT Hub permission issue

TC pushbot 5 %!s(int64=4) %!d(string=hai) anos
pai
achega
25eb79b434
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      iot.go

+ 1 - 1
iot.go

@@ -52,7 +52,7 @@ func IoTHubInit() {
 
 		//Register IoT Devices Endpoints
 		router := prout.NewModuleRouter(prout.RouterOption{
-			ModuleName:  "IoT Panel",
+			ModuleName:  "IoT Hub",
 			AdminOnly:   false,
 			UserHandler: userHandler,
 			DeniedHandler: func(w http.ResponseWriter, r *http.Request) {