diff --git a/backend/src/api/controllers/result.ts b/backend/src/api/controllers/result.ts index 6396836cf..46b04af16 100644 --- a/backend/src/api/controllers/result.ts +++ b/backend/src/api/controllers/result.ts @@ -275,7 +275,7 @@ export async function addResult( throw new MonkeyError(status.code, "Missing key data"); } if (result.keyOverlap === undefined) { - throw new MonkeyError(400, "Duration is using old calculation"); + throw new MonkeyError(400, "Old key data format"); } if (anticheatImplemented()) { if (!validateKeys(result, uid)) { diff --git a/frontend/src/ts/test/test-logic.ts b/frontend/src/ts/test/test-logic.ts index e3cc0fae8..5f3d97286 100644 --- a/frontend/src/ts/test/test-logic.ts +++ b/frontend/src/ts/test/test-logic.ts @@ -1823,9 +1823,9 @@ async function saveResult( } } console.log("Error saving result", completedEvent); - if (response.message === "Duration is using old calculation") { + if (response.message === "Old key data format") { response.message = - "Duration is using old calculation. Please refresh the page to download the new update. If the problem persists, please contact support."; + "Old key data format. Please refresh the page to download the new update. If the problem persists, please contact support."; } return Notifications.add("Failed to save result: " + response.message, -1); }