aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-09-23 12:51:17 +1000
committerYuchen Pei <hi@ypei.me>2022-09-23 12:51:17 +1000
commit24cd3237d26c3ac3ece873cb4e2769008464b1b0 (patch)
treeb8a4e7206e84d83e6106cda1218b81a11fb2aa3a
parent57c1a37c72208372e0bdf40ed3bdfc2a55f5c291 (diff)
fixing a typo
-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;