aboutsummaryrefslogtreecommitdiff
path: root/backend/models/models.go
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-20 20:57:10 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-06-20 20:57:10 +0300
commit9af2c7d17f02be98998d388b421b3d055a96f83e (patch)
tree0e1fe45dec78928c77a0455732acd845916bfcb5 /backend/models/models.go
parentdocs: map summary response (#46) (diff)
downloadlphub-9af2c7d17f02be98998d388b421b3d055a96f83e.tar.gz
lphub-9af2c7d17f02be98998d388b421b3d055a96f83e.tar.bz2
lphub-9af2c7d17f02be98998d388b421b3d055a96f83e.zip
fix: remove duplicate score count in routes (#46)
Diffstat (limited to 'backend/models/models.go')
-rw-r--r--backend/models/models.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/models/models.go b/backend/models/models.go
index 783c339..0727468 100644
--- a/backend/models/models.go
+++ b/backend/models/models.go
@@ -44,7 +44,6 @@ type MapRoute struct {
44 Category Category `json:"category"` 44 Category Category `json:"category"`
45 History MapHistory `json:"history"` 45 History MapHistory `json:"history"`
46 Rating float32 `json:"rating"` 46 Rating float32 `json:"rating"`
47 ScoreCount int `json:"score_count"`
48 Description string `json:"description"` 47 Description string `json:"description"`
49 Showcase string `json:"showcase"` 48 Showcase string `json:"showcase"`
50} 49}