fix: allow using cookie and header in case of validating jwt
This commit is contained in:
@@ -64,7 +64,7 @@ type ForgotPasswordInput struct {
|
||||
}
|
||||
|
||||
type IsValidJWTQueryInput struct {
|
||||
Jwt string `json:"jwt"`
|
||||
Jwt *string `json:"jwt"`
|
||||
Roles []string `json:"roles"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user