fix(handlers): values where omited when false and set go min version to 1.25

switching from v1 to v2 of encoding/json in the root handler to not omit
false values in the spaceapi response.
this increases the min go version to 1.25.
This commit is contained in:
bitwhisker 2026-10-05 14:10:36 +02:00
commit 2cc08483a2
Signed by: bitwhisker
SSH key fingerprint: SHA256:KybIk/tusSKao6eLGY+ILlFa1rCrzwx66/acBAcKUqE
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
package handlers
import (
"encoding/json"
"encoding/json/v2"
"log"
"net/http"