提交 7ae2104b 编写于 作者: J Jingwen Owen Ou

Use URL from Authorization.App

上级 211a2549
......@@ -210,7 +210,7 @@ func (client *Client) FindOrCreateToken(user, password, twoFactorCode string) (t
}
for _, auth := range auths {
if auth.NoteURL == OAuthAppURL {
if auth.App.URL == OAuthAppURL {
token = auth.Token
break
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册