diff --git a/app/peppy/beatmap.go b/app/peppy/beatmap.go index b9c35da..3391a18 100644 --- a/app/peppy/beatmap.go +++ b/app/peppy/beatmap.go @@ -4,10 +4,10 @@ import ( "strconv" "strings" + "github.com/RealistikOsu/RealistikAPI/common" "github.com/jmoiron/sqlx" "github.com/thehowl/go-osuapi" "github.com/valyala/fasthttp" - "github.com/RealistikOsu/RealistikAPI/common" ) // GetBeatmap retrieves general beatmap information. @@ -58,7 +58,7 @@ func GetBeatmap(c *fasthttp.RequestCtx, db *sqlx.DB) { passcount, max_combo, difficulty_std, difficulty_taiko, difficulty_ctb, difficulty_mania, latest_update -FROM beatmaps `+where+" ORDER BY id DESC LIMIT "+limit, +FROM beatmaps `+where+" ORDER BY beatmap_id DESC LIMIT "+limit, params...) if err != nil { common.Err(c, err)