diff --git a/backend/src/api/controllers/result.ts b/backend/src/api/controllers/result.ts index 92020aefc..ae29214ed 100644 --- a/backend/src/api/controllers/result.ts +++ b/backend/src/api/controllers/result.ts @@ -156,11 +156,7 @@ export async function addResult( const resulthash = result.hash; delete result.hash; delete result.stringified; - if ( - req.ctx.configuration.results.objectHashCheckEnabled && - resulthash.length === 40 - ) { - //if its not 64 that means client is still using old hashing package + if (req.ctx.configuration.results.objectHashCheckEnabled) { const serverhash = objectHash(result); if (serverhash !== resulthash) { Logger.logToDb(