From ac732635747828dbe20c657362eba10840a039d2 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Jul 2024 13:41:11 +0900 Subject: refactor: change JwtPayload type --- backend/api/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/api/handlers.go') diff --git a/backend/api/handlers.go b/backend/api/handlers.go index c435d72..57aaabb 100644 --- a/backend/api/handlers.go +++ b/backend/api/handlers.go @@ -53,7 +53,7 @@ func (h *ApiHandler) PostApiLogin(ctx context.Context, request PostApiLoginReque func _assertJwtPayloadIsCompatibleWithJWTClaims() { var c auth.JWTClaims var p JwtPayload - p.UserId = float32(c.UserID) + p.UserId = c.UserID p.Username = c.Username p.DisplayName = c.DisplayName p.IconPath = c.IconPath -- cgit v1.2.3-70-g09d2