The Free Software Media System - Server Backend & API
Add missing default authorization policy
David6b72fb863167
diff --git a/Jellyfin.Api/Controllers/SystemController.cs b/Jellyfin.Api/Controllers/SystemController.csindex f4dae40ef6..e33821b248 100644--- a/Jellyfin.Api/Controllers/SystemController.cs+++ b/Jellyfin.Api/Controllers/SystemController.cs@@ -173,7 +173,7 @@ namespace Jellyfin.Api.Controllers/// <response code="200">Information retrieved.</response>/// <returns><see cref="EndPointInfo"/> with information about the endpoint.</returns>[HttpGet("Endpoint")]- [Authorize]+ [Authorize(Policy = Policies.DefaultAuthorization)][ProducesResponseType(StatusCodes.Status200OK)]public ActionResult<EndPointInfo> GetEndpointInfo(){@@ -211,7 +211,7 @@ namespace Jellyfin.Api.Controllers/// <response code="200">Information retrieved.</response>/// <returns>An <see cref="IEnumerable{WakeOnLanInfo}"/> with the WakeOnLan infos.</returns>[HttpGet("WakeOnLanInfo")]- [Authorize]+ [Authorize(Policy = Policies.DefaultAuthorization)][ProducesResponseType(StatusCodes.Status200OK)]public ActionResult<IEnumerable<WakeOnLanInfo>> GetWakeOnLanInfo(){