From 96fea7c1ae20f19a5ba5e730434199fe8bc5822b Mon Sep 17 00:00:00 2001 From: Nicholas Asimov Date: Thu, 19 Oct 2017 20:30:53 +0300 Subject: [PATCH] Set correct "zero time" in SetAccessToken --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index f7c9dbd..59ab951 100644 --- a/client.go +++ b/client.go @@ -63,7 +63,7 @@ func (c *Client) SetAccessToken(token string) error { c.Token = &TokenResponse{ Token: token, } - c.tokenExpiresAt = time.Unix(0, 0) + c.tokenExpiresAt = time.Time{} return nil }