Changed type of token.Claims.UserId

This commit is contained in:
phoenix
2025-10-31 14:11:52 -04:00
parent c352a4bf27
commit a858116523
+2 -2
View File
@@ -6,8 +6,8 @@ import (
) )
type Claims struct { type Claims struct {
UserId string `json:"user_id"` UserId uuid.UUID `json:"user_id"`
Role string `json:"role"` Role string `json:"role"`
jwt.RegisteredClaims jwt.RegisteredClaims
} }