diff --git a/server/layer/layer.go b/server/layer/layer.go index adc56df..dd93899 100644 --- a/server/layer/layer.go +++ b/server/layer/layer.go @@ -3,8 +3,8 @@ package layer type Layer struct { Id int `json:"id"` Name string `json:"name"` - To int `json:"to"` From int `json:"from"` + To int `json:"to"` } func FindLayerById(layers []*Layer, id int) *Layer {