summaryrefslogtreecommitdiffstats
path: root/src/server/Api/V1
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/V1
parent1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 (diff)
downloadbookmark-thing-2f975c41933731d81e570029fb59457399ec6d0d.tar.xz
bookmark-thing-2f975c41933731d81e570029fb59457399ec6d0d.zip
.
Diffstat (limited to 'src/server/Api/V1')
-rw-r--r--src/server/Api/V1/BaseV1Route.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Api/V1/BaseV1Route.cs b/src/server/Api/V1/BaseV1Route.cs
index bbccae6..29513ac 100644
--- a/src/server/Api/V1/BaseV1Route.cs
+++ b/src/server/Api/V1/BaseV1Route.cs
@@ -13,7 +13,7 @@ public class BaseV1Route : ControllerBase
/// User data for the currently logged on user.
/// </summary>
protected LoggedInV1User LoggedInUser => new() {
- Id = User.FindFirstValue(AppClaims.USER_ID).ToGuid(),
+ Id = User.FindFirstValue(AppClaims.USER_ID).AsGuid(),
Username = User.FindFirstValue(AppClaims.NAME),
};