fix(beatmap,playlist): missing greetlet

This commit is contained in:
MingxuanGame
2025-08-10 13:31:08 +00:00
parent b12782abe0
commit 1891496832
2 changed files with 4 additions and 3 deletions

View File

@@ -157,8 +157,8 @@ class BeatmapResp(BeatmapBase):
) -> "BeatmapResp":
from .score import Score
beatmap_status = beatmap.beatmap_status
beatmap_ = beatmap.model_dump()
beatmap_status = beatmap_["beatmap_status"]
if query_mode is not None and beatmap.mode != query_mode:
beatmap_["convert"] = True
beatmap_["is_scoreable"] = beatmap_status.has_leaderboard()