Skip to content

Commit

Permalink
Re-add initialize to getinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
mgaeta committed Sep 6, 2024
1 parent 815ee2d commit b214fbe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/connector/client/salesforce.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ func (c *SalesforceClient) GetInfo(ctx context.Context) (
*v2.RateLimitDescription,
error,
) {
err := c.Initialize(ctx)
if err != nil {
return nil, nil, err
}

response, err := c.client.ApexREST(
http.MethodGet,
InfoPath,
Expand Down

0 comments on commit b214fbe

Please sign in to comment.