diff --git a/backend/src/api/controllers/result.ts b/backend/src/api/controllers/result.ts index 4be252ff5..3d7d5777b 100644 --- a/backend/src/api/controllers/result.ts +++ b/backend/src/api/controllers/result.ts @@ -176,11 +176,15 @@ export async function addResult( if (req.ctx.configuration.users.lastHashesCheck.enabled) { let lastHashes = user.lastReultHashes ?? []; if (lastHashes.includes(resulthash)) { - Logger.logToDb("duplicate_result", { - lastHashes, - resulthash, - result, - }); + Logger.logToDb( + "duplicate_result", + { + lastHashes, + resulthash, + result, + }, + uid + ); const status = MonkeyStatusCodes.DUPLICATE_RESULT; throw new MonkeyError(status.code, "Duplicate result"); } else {