Merge pull request #43 from NicholasAsimov/fix-zero-time

Set correct "zero time" in SetAccessToken
This commit is contained in:
Alex Pliutau 2017-10-26 08:23:13 +07:00 committed by GitHub
commit c95c0b9449

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
}