aboutsummaryrefslogtreecommitdiff
path: root/backend/handlers
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-10-29 20:20:42 +0300
committerGitHub <noreply@github.com>2023-10-29 20:20:42 +0300
commit3ed6dabd4194315c49358edfa198754392b5adfe (patch)
treef17ef90f081e13a336fd297d243b62bd39740406 /backend/handlers
parentremove pagination for profile/user (#121) (diff)
downloadlphub-3ed6dabd4194315c49358edfa198754392b5adfe.tar.gz
lphub-3ed6dabd4194315c49358edfa198754392b5adfe.tar.bz2
lphub-3ed6dabd4194315c49358edfa198754392b5adfe.zip
fix is_disabled ambiguity (#124)
Former-commit-id: d432f615ba43aa0605ac9430efb54eb74b8a2edd
Diffstat (limited to 'backend/handlers')
-rw-r--r--backend/handlers/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/handlers/map.go b/backend/handlers/map.go
index 8b8b9d7..f985a23 100644
--- a/backend/handlers/map.go
+++ b/backend/handlers/map.go
@@ -166,7 +166,7 @@ func FetchMapLeaderboards(c *gin.Context) {
166 return 166 return
167 } 167 }
168 response.Map.ID = intID 168 response.Map.ID = intID
169 sql := `SELECT g.name, c.name, m.name, is_disabled, m.image, g.is_coop 169 sql := `SELECT g.name, c.name, m.name, m.is_disabled, m.image, g.is_coop
170 FROM maps m 170 FROM maps m
171 INNER JOIN games g ON m.game_id = g.id 171 INNER JOIN games g ON m.game_id = g.id
172 INNER JOIN chapters c ON m.chapter_id = c.id 172 INNER JOIN chapters c ON m.chapter_id = c.id