diff options
author | Yuchen Pei <hi@ypei.me> | 2022-09-23 12:51:17 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-09-23 12:51:17 +1000 |
commit | 24cd3237d26c3ac3ece873cb4e2769008464b1b0 (patch) | |
tree | b8a4e7206e84d83e6106cda1218b81a11fb2aa3a /common | |
parent | 57c1a37c72208372e0bdf40ed3bdfc2a55f5c291 (diff) |
fixing a typo
Diffstat (limited to 'common')
-rw-r--r-- | common/checks.js | 2 |
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; |