Allow looking for beatmap md5 in GET /beatmaps
This commit is contained in:
parent
3ce1f58a48
commit
a6b4ad1d3e
|
@ -153,6 +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("ranked_status_freezed = ?", md.Query("ranked_status_frozen"), "0", "1")
|
||||
|
||||
rows, err := md.DB.Query(baseBeatmapSelect+
|
||||
|
|
Loading…
Reference in New Issue
Block a user