Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
misc: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ipfans committed Dec 31, 2020
1 parent 977c03f commit 3ad7ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (c *Client) Parse(res *http.Response, resp interface{}) error {
// e.g. tuya restarts its server all token will expires right now.
if body.Code == 1010 || body.Code == 1011 {
c.lock.Lock()
c.storage.Refresh(c)
_ = c.storage.Refresh(c)
c.lock.Unlock()
}
return errors.Wrap(&Error{
Expand Down

0 comments on commit 3ad7ac5

Please sign in to comment.