Code change
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package model
|
||||
|
||||
/*
|
||||
import (
|
||||
"github.com/golang-jwt/jwt/v5"
|
||||
)
|
||||
@@ -9,6 +10,7 @@ type Claims struct {
|
||||
Role string `json:"role"`
|
||||
jwt.RegisteredClaims
|
||||
}
|
||||
*/
|
||||
|
||||
type Login struct {
|
||||
AccessToken string `json:"access_token"`
|
||||
|
||||
Reference in New Issue
Block a user