Run formatter on code

oauth2
maru 2024-04-21 18:57:27 -04:00
parent 4a017b0f32
commit 8f51cd826c
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
3 changed files with 2 additions and 3 deletions

View File

@ -210,7 +210,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
// TODO: make this not suck
if !active && r.URL.Path != "/savedata/clear"{
if !active && r.URL.Path != "/savedata/clear" {
httpError(w, r, fmt.Errorf("session out of date"), http.StatusBadRequest)
return
}

View File

@ -30,7 +30,6 @@ func main() {
flag.Parse()
// register gob types
gob.Register([]interface{}{})
gob.Register(map[string]interface{}{})