From 29fb426c60b982d874eca537ab626c9e6325516e Mon Sep 17 00:00:00 2001 From: david Date: Thu, 29 Feb 2024 22:14:56 +0800 Subject: [PATCH] fix jwtClaims + owner --- types/encipher.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/encipher.go b/types/encipher.go index 8e98e47..ce98949 100644 --- a/types/encipher.go +++ b/types/encipher.go @@ -6,10 +6,10 @@ type CertFileBytes struct { } type JwtClaims struct { - ID uint `json:"id"` - Identity string `json:"identity"` - Extend map[string]string `json:"extend"` - OwnerIdentity any `json:"owner_identity"` - Role string `json:"role"` - ExpiresAt int64 `json:"exp"` + ID uint `json:"id"` + Identity string `json:"identity"` + Extend map[string]string `json:"extend"` + Owner any `json:"owner"` + Role string `json:"role"` + ExpiresAt int64 `json:"exp"` }