fix: add rollQuality toggle to cacheKey

This commit is contained in:
2026-04-01 12:30:41 +07:00 Unverified
parent 666acaa3ae
commit 4e65cbaa08
+1 -3
View File
@@ -251,9 +251,6 @@ export function card(app: App) {
const enkaLoc = locs[lang ?? "en"];
if (debug === "dump" && heightRaw === 1234)
throw new Error("Intentional Test Error");
if (typeof data.avatarInfoList === "undefined")
return error(400, errorLoc.private);
const char = data.avatarInfoList.find(
@@ -290,6 +287,7 @@ export function card(app: App) {
lang,
height,
enableSubstat,
enableRollQuality,
debug,
}),
).toString(36);