check version in backend

This commit is contained in:
Egor Aristov 2025-02-06 17:45:54 +03:00
parent 3ea8e1b4b1
commit 4141a58eef

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 {