Basic Metadata Polish (#3548)
This commit is contained in:
parent
c0b59d87a4
commit
4c44dbf3e2
20 changed files with 3596 additions and 467 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue