From c934ef7efc35168b71e34e2eb8a3fcc17a7abda9 Mon Sep 17 00:00:00 2001 From: "Songyang.Huo" Date: Mon, 3 Jun 2024 21:59:59 +0800 Subject: [PATCH] 1 --- AmiyaBotPlayerRatingServer/Data/ArknightsMemoryCache.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/AmiyaBotPlayerRatingServer/Data/ArknightsMemoryCache.cs b/AmiyaBotPlayerRatingServer/Data/ArknightsMemoryCache.cs index f745f47..97dae75 100644 --- a/AmiyaBotPlayerRatingServer/Data/ArknightsMemoryCache.cs +++ b/AmiyaBotPlayerRatingServer/Data/ArknightsMemoryCache.cs @@ -91,6 +91,7 @@ public ArknightsMemoryCache(IMemoryCache memoryCache,ILogger @@ -195,7 +193,7 @@ private void UpdateCache(object? state) } }); - Directory.GetFiles(Path.Combine(_directoryPath, "gamedata/indexes")).ToList().ForEach(file => + Directory.GetFiles(Path.Combine(_directoryPath, "indexes")).ToList().ForEach(file => { var fileName = Path.GetFileName(file); if (fileName.EndsWith(".json"))