From 48e519118e74690d098779831d97ee5279422a1c Mon Sep 17 00:00:00 2001 From: Artemy <109195690+stalcker2288969@users.noreply.github.com> Date: Tue, 1 Jul 2025 21:42:34 +0700 Subject: [PATCH] hot fix jwt --- Govor.Application/Services/JwtService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Govor.Application/Services/JwtService.cs b/Govor.Application/Services/JwtService.cs index 3c83155..bf0c37c 100644 --- a/Govor.Application/Services/JwtService.cs +++ b/Govor.Application/Services/JwtService.cs @@ -23,7 +23,7 @@ public class JwtService : IJwtService { var claims = new[] { - new Claim("userID", user.Id.ToString()), + new Claim("userId", user.Id.ToString()), new Claim(ClaimTypes.Role, _invitesService.GetRoleAsync(user).Result, ClaimValueTypes.String) };