diff options
| -rw-r--r-- | auth/controller.go | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/controller.go b/auth/controller.go index 05cdd9d..961518a 100644 --- a/auth/controller.go +++ b/auth/controller.go @@ -134,7 +134,7 @@ func handleRefresh (ctx *gin.Context) {  	var req RefreshReq  	ctx.Bind(&req) -	tk, _ := jwt.ParseWithClaims(req.RefreshToken, &AuthClaims{}, func (token *jwt.Token) (interface{}, error) { +	tk, _ := jwt.ParseWithClaims(req.RefreshToken, &RefreshClaims{}, func (token *jwt.Token) (interface{}, error) {  		return []byte(REFRESH_KEY), nil  	})  |