From 24cd3237d26c3ac3ece873cb4e2769008464b1b0 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Fri, 23 Sep 2022 12:51:17 +1000 Subject: fixing a typo --- common/checks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/checks.js b/common/checks.js index 67c835b..2a4ab9c 100644 --- a/common/checks.js +++ b/common/checks.js @@ -310,7 +310,7 @@ function checkMagnet(url, key = null) { const checkLicenseMagnet = license => { for (const cUrl of license.canonicalUrl) { if (cUrl.startsWith('magnet:') && fixedUrl === cUrl) { - return licenses[key].licenseName; + return license.licenseName; } } return null; -- cgit v1.2.3