Skip to content

Commit

Permalink
issues #64 update map zone
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseyf12 committed Sep 14, 2019
1 parent a092014 commit 5c80b63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/mobile/v1/models/map_element.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type MapElement struct {
GraphSettings MapElementGraphSettings `json:"graph_settings"`
Status string `json:"status"`
Weight int `json:"weight"`
Zone *ZoneTag `json:"zone,omitempty"`
Zone *MapZone `json:"zone,omitempty"`
}

type SortMapElement struct {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package models

type ZoneTag struct {
type MapZone struct {
Id int64 `json:"id"`
Name string `json:"name"`
}

0 comments on commit 5c80b63

Please sign in to comment.