removed debug logs
This commit is contained in:
parent
921138f450
commit
b320c395df
2
api.go
2
api.go
@ -180,7 +180,6 @@ func (api *Api) AutoRefresh(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (api *Api) Refresh() error {
|
func (api *Api) Refresh() error {
|
||||||
fmt.Println("refresh")
|
|
||||||
api.refreshMutex.Lock()
|
api.refreshMutex.Lock()
|
||||||
defer api.refreshMutex.Unlock()
|
defer api.refreshMutex.Unlock()
|
||||||
|
|
||||||
@ -211,6 +210,5 @@ func (api *Api) Refresh() error {
|
|||||||
api.accessToken = response.Result.AccessToken
|
api.accessToken = response.Result.AccessToken
|
||||||
api.refreshToken = response.Result.RefreshToken
|
api.refreshToken = response.Result.RefreshToken
|
||||||
|
|
||||||
fmt.Println("refresh successful")
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user