mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 14:25:17 -04:00
Basic Metadata Polish (#3548)
This commit is contained in:
@@ -64,7 +64,14 @@ public class LicenseController(
|
||||
[ResponseCache(CacheProfileName = ResponseCacheProfiles.LicenseCache)]
|
||||
public async Task<ActionResult<LicenseInfoDto?>> GetLicenseInfo(bool forceCheck = false)
|
||||
{
|
||||
return Ok(await licenseService.GetLicenseInfo(forceCheck));
|
||||
try
|
||||
{
|
||||
return Ok(await licenseService.GetLicenseInfo(forceCheck));
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return Ok(null);
|
||||
}
|
||||
}
|
||||
|
||||
[Authorize("RequireAdminRole")]
|
||||
|
||||
Reference in New Issue
Block a user