mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-05-30 19:35:21 -04:00
Stats Page Overhaul (#4292)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -294,17 +294,6 @@ public class SettingsController : BaseApiController
|
||||
return Ok(publicConfig);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the initial installDate of the server
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("first-install-date")]
|
||||
public async Task<ActionResult<DateTime>> GetInstallDate()
|
||||
{
|
||||
var installDate = (await _unitOfWork.SettingsRepository.GetSettingsDtoAsync()).FirstInstallDate;
|
||||
return Ok(installDate);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Validate if the given authority is reachable from the server
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user