Fix import cameras from Hass config

This commit is contained in:
Alexey Khit
2023-03-19 16:53:36 +03:00
parent 43840576ea
commit 7c79c1ff26
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func apiHandle(w http.ResponseWriter, r *http.Request) {
switch r.Method {
case "GET":
if Auth.UserData == nil {
http.Error(w, "", http.StatusNotFound)
http.Error(w, "no auth", http.StatusNotFound)
return
}