aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/StartupController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-02 08:28:37 -0600
committercrobibero <cody@robibe.ro>2020-06-02 08:28:37 -0600
commitcf9cbfff5667961eebec04f20c844f9df988c5a7 (patch)
treebbf54004ba45445da2b5ddc68371327a26dd55c5 /Jellyfin.Api/Controllers/StartupController.cs
parent297ab2e423235fd53f8e9e06dc4c15ee789278d3 (diff)
Add second endpoint for Startup/User
Diffstat (limited to 'Jellyfin.Api/Controllers/StartupController.cs')
-rw-r--r--Jellyfin.Api/Controllers/StartupController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/StartupController.cs b/Jellyfin.Api/Controllers/StartupController.cs
index ed1dc1ede..57a02e62a 100644
--- a/Jellyfin.Api/Controllers/StartupController.cs
+++ b/Jellyfin.Api/Controllers/StartupController.cs
@@ -109,6 +109,7 @@ namespace Jellyfin.Api.Controllers
/// <response code="200">Initial user retrieved.</response>
/// <returns>The first user.</returns>
[HttpGet("User")]
+ [HttpGet("FirstUser")]
[ProducesResponseType(StatusCodes.Status200OK)]
public ActionResult<StartupUserDto> GetFirstUser()
{