aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/checks.js2
1 files changed, 1 insertions, 1 deletions
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;