feat(score): invalidate cache when pin/unpin/reorder scores

This commit is contained in:
MingxuanGame
2025-10-08 06:12:12 +00:00
parent 6af0f814aa
commit a32976857f
3 changed files with 19 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ from urllib.parse import parse_qs
from app.database import Beatmap, Beatmapset, BeatmapsetResp, FavouriteBeatmapset, User
from app.database.beatmapset import SearchBeatmapsetsResp
from app.dependencies.beatmap_download import DownloadService
from app.dependencies.beatmapset_cache import BeatmapsetCacheService
from app.dependencies.cache import BeatmapsetCacheService
from app.dependencies.database import Database, Redis, with_db
from app.dependencies.fetcher import Fetcher
from app.dependencies.geoip import IPAddress, get_geoip_helper