Skip to content

Commit

Permalink
fix typos (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
graphaelli committed Jan 15, 2020
1 parent d536644 commit f3e1bc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions google/google.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (c *Client) HasCreds() bool {
valid := c.credentials.Valid()

if !valid {
c.logger.Println("Google credentias not valid, updating token")
c.logger.Println("Google credentials not valid, updating token")
src := c.config.TokenSource(context.TODO(), c.credentials)
newToken, err := src.Token() // this actually goes and renews the tokens
if err != nil {
Expand All @@ -104,7 +104,7 @@ func (c *Client) HasCreds() bool {
if newToken.AccessToken != c.credentials.AccessToken {
c.updateCreds(newToken)
c.credentials = newToken
c.logger.Println("Google credentias updated and saved to disk")
c.logger.Println("Google credentials updated and saved to disk")
}
}
return true
Expand Down
4 changes: 2 additions & 2 deletions zoom/zoom.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (c *Client) HasCreds() bool {
valid := c.credentials.Valid()

if !valid {
c.logger.Println("Zoom credentias not valid, updating token")
c.logger.Println("Zoom credentials not valid, updating token")
src := c.config.TokenSource(context.TODO(), c.credentials)
newToken, err := src.Token() // this actually goes and renews the tokens
if err != nil {
Expand All @@ -170,7 +170,7 @@ func (c *Client) HasCreds() bool {
if newToken.AccessToken != c.credentials.AccessToken {
c.updateCreds(newToken)
c.credentials = newToken
c.logger.Println("Zoom credentias updated and saved to disk")
c.logger.Println("Zoom credentials updated and saved to disk")
}
}
return true
Expand Down

0 comments on commit f3e1bc0

Please sign in to comment.