authorization fix

This commit is contained in:
Aleksandr Zelenin 2019-12-30 18:52:13 +03:00
parent 9e9b0f6083
commit b1a5e5a5b9
2 changed files with 12 additions and 7 deletions

View file

@ -71,8 +71,6 @@ func NewClient(authorizationStateHandler AuthorizationStateHandler, options ...O
err := Authorize(client, authorizationStateHandler)
if err != nil {
client.Stop()
return nil, err
}