If the license risk of a license in the LicenseToPublish list is missing then it fetches the full license from the database and set the license risk. This fix the problem that the library risk couldn't be calculated because the risk information was missing.
The bug only occurred when the LicenseToPublish was set manually, because the frontend only knows the name and ID of the license and thus the rest of the information, like the license risk, was missing.
Fixes #17.
If the license risk of a license in the LicenseToPublish list is missing then it fetches the full license from the database and set the license risk. This fix the problem that the library risk couldn't be calculated because the risk information was missing.
The bug only occurred when the LicenseToPublish was set manually, because the frontend only knows the name and ID of the license and thus the rest of the information, like the license risk, was missing.