Schei! Encoding #20

Merged
june merged 3 commits from :Bendodroid-schei!Encoding into main 2024-01-16 01:56:35 +01:00
2 changed files with 0 additions and 6 deletions
Showing only changes of commit 2fb2e5f151 - Show all commits

View file

@ -1,7 +1,6 @@
package handlers
import (
"io"
"log"
"math"
"net/http"
@ -34,7 +33,5 @@ func EnvironmentSensor(
// Set SpaceAPI response values
resp.Value = newState
resp.LastChange = time.Now().Unix()
_, _ = io.WriteString(w, "Update Successful")
}
}

View file

@ -1,7 +1,6 @@
package handlers
import (
"io"
"log"
"net/http"
"strconv"
@ -33,7 +32,5 @@ func StateOpen(
// Set SpaceAPI response values
resp.Open = newState
resp.LastChange = time.Now().Unix()
_, _ = io.WriteString(w, "Update Successful")
}
}