aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ApiKeyController.cs
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-06-18 18:26:58 -0400
committerPatrick Barron <barronpm@gmail.com>2021-06-18 18:26:58 -0400
commit336ba2879f325a4efd52bc7737ce94f40369bfeb (patch)
tree56f159b85dde61ab4e1b1ca75caedde4f86301fd /Jellyfin.Api/Controllers/ApiKeyController.cs
parent0292936c659b25464c1bc1e1b80711f873a1a7cd (diff)
Re-add support for API keys
Diffstat (limited to 'Jellyfin.Api/Controllers/ApiKeyController.cs')
-rw-r--r--Jellyfin.Api/Controllers/ApiKeyController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/ApiKeyController.cs b/Jellyfin.Api/Controllers/ApiKeyController.cs
index 96efde5fb..720b22b1d 100644
--- a/Jellyfin.Api/Controllers/ApiKeyController.cs
+++ b/Jellyfin.Api/Controllers/ApiKeyController.cs
@@ -71,7 +71,7 @@ namespace Jellyfin.Api.Controllers
[HttpDelete("Keys/{key}")]
[Authorize(Policy = Policies.RequiresElevation)]
[ProducesResponseType(StatusCodes.Status204NoContent)]
- public async Task<ActionResult> RevokeKey([FromRoute, Required] Guid key)
+ public async Task<ActionResult> RevokeKey([FromRoute, Required] string key)
{
await _authenticationManager.DeleteApiKey(key).ConfigureAwait(false);