generated from pkg/go-template
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func (l Lark) Auth(code string) (*authen.UserAccessTokenInfo, error) {
|
||||
return l.userService.Authens.AccessToken(core.WrapContext(context.Background()), &authen.AuthenAccessTokenReqBody{
|
||||
GrantType: "",
|
||||
GrantType: "authorization_code",
|
||||
Code: code,
|
||||
}).Do()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user