greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.44k stars 435 forks source link

License is always appearing as null in JSON #1068

Closed DenverCoder1 closed 2 years ago

DenverCoder1 commented 2 years ago

In the script and on the website, it displays "MIT", but in the JSON it says null. Tested on multiple scripts.

Example:

https://greasyfork.org/en/scripts/407466-unedit-and-undelete-for-reddit

image

https://greasyfork.org/en/scripts/407466-unedit-and-undelete-for-reddit.json

image

JasonBarnabe commented 2 years ago

Thanks for reporting.

This was working for licenses the site does not recognize but not for ones that it did. It's fixed now to show the name of recognized licenses as well.