Polish before Release (#2621)
This commit is contained in:
parent
295f352ab5
commit
7a6ef173e2
8 changed files with 46 additions and 11 deletions
|
@ -291,4 +291,15 @@ public class ServerController : BaseApiController
|
|||
return Ok(await _emailService.GetVersion(emailServiceUrl));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Checks for updates and pushes an event to the UI
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet("check-for-updates")]
|
||||
public async Task<ActionResult> CheckForAnnouncements()
|
||||
{
|
||||
await _taskScheduler.CheckForUpdate();
|
||||
return Ok();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue