From b2f02dc0509359f9f98239f12fe5b87175286ac9 Mon Sep 17 00:00:00 2001 From: student_2333 Date: Tue, 10 Oct 2023 19:41:29 +0800 Subject: [PATCH] fix --- scripts/pre_deploy/gen_gacha_data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pre_deploy/gen_gacha_data.py b/scripts/pre_deploy/gen_gacha_data.py index 5860436..95c78e2 100644 --- a/scripts/pre_deploy/gen_gacha_data.py +++ b/scripts/pre_deploy/gen_gacha_data.py @@ -60,8 +60,8 @@ async def main(): regions: List[dict] = common_data["Regions"] for region in regions: - region_name = region_name_map[region["name"]] - gachas = region["current_gacha"] + region_name = region_name_map[region["Name"]] + gachas = region["CurrentGacha"] for gacha in gachas: if not (gacha["start"] <= time.time() < gacha["end"]): continue