mirror of
https://github.com/c0re100/gotdlib.git
synced 2026-02-21 20:20:17 +01:00
authorization fix
This commit is contained in:
parent
9e9b0f6083
commit
b1a5e5a5b9
2 changed files with 12 additions and 7 deletions
|
|
@ -71,8 +71,6 @@ func NewClient(authorizationStateHandler AuthorizationStateHandler, options ...O
|
|||
|
||||
err := Authorize(client, authorizationStateHandler)
|
||||
if err != nil {
|
||||
client.Stop()
|
||||
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue