From 10c61cec02f62c513745adf2d8dc3f2b767c10a5 Mon Sep 17 00:00:00 2001 From: Howl Date: Sat, 29 Oct 2016 14:23:31 +0200 Subject: [PATCH] beatmap_md5 -> md5 --- app/v1/beatmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/v1/beatmap.go b/app/v1/beatmap.go index b24332b..704dd22 100644 --- a/app/v1/beatmap.go +++ b/app/v1/beatmap.go @@ -153,7 +153,7 @@ func getMultipleBeatmaps(md common.MethodData) common.CodeMessager { Where("beatmap_id = ?", md.Query("bb")). Where("beatmapset_id = ?", md.Query("s")). Where("song_name = ?", md.Query("song_name")). - Where("beatmap_md5 = ?", md.Query("beatmap_md5")). + Where("beatmap_md5 = ?", md.Query("md5")). Where("ranked_status_freezed = ?", md.Query("ranked_status_frozen"), "0", "1") rows, err := md.DB.Query(baseBeatmapSelect+