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) };