Remove debug log

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2025-04-19 20:03:00 -07:00
parent 5370d59451
commit 7d3a9e6d3b

View File

@@ -148,7 +148,6 @@ func (c *OAuth2Connector) Complete(ctx context.Context, connectorID string, orga
if err != nil {
return nil, fmt.Errorf("cannot post token URL: %w", err)
}
defer tokenResp.Body.Close()
type tokenResponse struct {
@@ -165,8 +164,6 @@ func (c *OAuth2Connector) Complete(ctx context.Context, connectorID string, orga
return nil, fmt.Errorf("cannot decode token response: %w", err)
}
fmt.Printf("\n\n\ntoken: %+v\n\n\n", token)
return &OAuth2Connection{
AccessToken: token.AccessToken,
RefreshToken: token.RefreshToken,