check version in backend

This commit is contained in:
Egor Aristov 2025-02-06 17:45:54 +03:00
parent 69cf5ba95a
commit 82f3dc5c21
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F

View File

@ -162,6 +162,7 @@ func (h *Handler) decodeSpecs(specsParam string) (Specs, error) {
if err != nil {
return Specs{}, fmt.Errorf("invalid version: %s", paramSplit[0])
}
specsParam = paramSplit[1]
}
if version != 0 {