diff --git a/backend/api/core/RedisPreheat.py b/backend/api/core/RedisPreheat.py index abdaca82..3c1b7f8a 100644 --- a/backend/api/core/RedisPreheat.py +++ b/backend/api/core/RedisPreheat.py @@ -7,7 +7,7 @@ import uuid import redis from api.core.Gzip import gzip_zip -from api.utils.skill_detail import normalize_skill_detail +from api.utils.skill_detail import SKILL_DETAIL_NORMALIZE_VERSION, normalize_skill_detail from core.basic.character import createCharacter from core.basic.equipment import get_equipment from core.character.adventure import adv, get_adv_list @@ -65,7 +65,7 @@ def _skill_prefix_from_path(path: Path) -> str: def _openapi_skill_detail_key(prefix: str) -> str: parts = prefix.split('/') - return f'openapi:{parts[0]}:{parts[1]}:{parts[-1]}' + return f'openapi:{SKILL_DETAIL_NORMALIZE_VERSION}:{parts[0]}:{parts[1]}:{parts[-1]}' def _load_skill_detail(path: Path):