diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-04-21 22:56:56 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-04-21 22:56:56 +0200 |
| commit | 2f975c41933731d81e570029fb59457399ec6d0d (patch) | |
| tree | 9c1ab1bfcf50472cf14f83fd79d6e637d99725eb /src/server/Api/V1 | |
| parent | 1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 (diff) | |
| download | bookmark-thing-2f975c41933731d81e570029fb59457399ec6d0d.tar.xz bookmark-thing-2f975c41933731d81e570029fb59457399ec6d0d.zip | |
.
Diffstat (limited to 'src/server/Api/V1')
| -rw-r--r-- | src/server/Api/V1/BaseV1Route.cs | 2 |
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), }; |
