hot fix jwt

This commit is contained in:
Artemy
2025-07-01 21:42:34 +07:00
parent 21a377eff3
commit 48e519118e
+1 -1
View File
@@ -23,7 +23,7 @@ public class JwtService : IJwtService
{ {
var claims = new[] 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) new Claim(ClaimTypes.Role, _invitesService.GetRoleAsync(user).Result, ClaimValueTypes.String)
}; };