summaryrefslogtreecommitdiffstats
path: root/src/server/Api/Internal/BaseInternalRoute.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-04-21 22:56:56 +0200
committerivarlovlie <git@ivarlovlie.no>2022-04-21 22:56:56 +0200
commit2f975c41933731d81e570029fb59457399ec6d0d (patch)
tree9c1ab1bfcf50472cf14f83fd79d6e637d99725eb /src/server/Api/Internal/BaseInternalRoute.cs
parent1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 (diff)
downloadbookmark-thing-2f975c41933731d81e570029fb59457399ec6d0d.tar.xz
bookmark-thing-2f975c41933731d81e570029fb59457399ec6d0d.zip
.
Diffstat (limited to 'src/server/Api/Internal/BaseInternalRoute.cs')
-rw-r--r--src/server/Api/Internal/BaseInternalRoute.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Api/Internal/BaseInternalRoute.cs b/src/server/Api/Internal/BaseInternalRoute.cs
index e416da7..665be09 100644
--- a/src/server/Api/Internal/BaseInternalRoute.cs
+++ b/src/server/Api/Internal/BaseInternalRoute.cs
@@ -9,7 +9,7 @@ public class BaseInternalRoute : ControllerBase
/// User data for the currently logged on user.
/// </summary>
protected LoggedInInternalUser LoggedInUser => new() {
- Id = User.FindFirstValue(AppClaims.USER_ID).ToGuid(),
+ Id = User.FindFirstValue(AppClaims.USER_ID).AsGuid(),
Username = User.FindFirstValue(AppClaims.NAME),
};