check version in backend
This commit is contained in:
parent
3ea8e1b4b1
commit
4141a58eef
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user