From f3e1bc0eab83acf9824d1d5be95d6f0fd67afcd9 Mon Sep 17 00:00:00 2001 From: Gil Raphaelli Date: Wed, 15 Jan 2020 14:25:38 -0500 Subject: [PATCH] fix typos (#7) --- google/google.go | 4 ++-- zoom/zoom.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/google/google.go b/google/google.go index b3d0890..bd4010c 100644 --- a/google/google.go +++ b/google/google.go @@ -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 { @@ -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 diff --git a/zoom/zoom.go b/zoom/zoom.go index 304aba3..ba71828 100644 --- a/zoom/zoom.go +++ b/zoom/zoom.go @@ -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 { @@ -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