From 7f33a1d2fa3f4369a0d8ff043fc087f4d367c75d Mon Sep 17 00:00:00 2001 From: Sandro642 Date: Sun, 27 Oct 2024 11:47:23 +0100 Subject: [PATCH] Refactor landing.js: Update modIdentity assignment in dlAsync function --- app/assets/js/scripts/landing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/js/scripts/landing.js b/app/assets/js/scripts/landing.js index e5c99a65..3f82c89b 100644 --- a/app/assets/js/scripts/landing.js +++ b/app/assets/js/scripts/landing.js @@ -499,7 +499,7 @@ async function dlAsync(login = true) { mdls.forEach(mdl => { if (mdl.rawModule.name.endsWith('.jar')) { const modPath = path.join(modsDir, mdl.rawModule.name) - const modIdentity = mdl.rawModule || mdl.rawModule.artifact.MD5 + const modIdentity = mdl.rawModule.identity || mdl.rawModule.artifact.MD5 if (extraFileVerif.debug) { loggerLanding.info(Lang.queryJS('landing.dlAsync.extraFileVerif.distributionIdentityError', { 'moduleName': mdl.rawModule.name,