Set correct "zero time" in SetAccessToken

This commit is contained in:
Nicholas Asimov 2017-10-19 20:30:53 +03:00
parent 08326c3caa
commit 96fea7c1ae

View File

@ -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
}