Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove invalid API calls from client #48

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Mar 24, 2023

A recent PR (#47)
simplified the API endpoints and schema. This reflects the change in the
client by removing the API calls that are no longer applicable.

This also removes the explicit setting of the token in favor of using a
ready-to-go http.Client instance such as the one that
https://pkg.go.dev/golang.org/x/oauth2#section-readme may provide.

Signed-off-by: Juan Antonio Osorio [email protected]

A recent PR (infratographer#47)
simplified the API endpoints and schema. This reflects the change in the
client by removing the API calls that are no longer applicable.

This also removes the explicit setting of the token in favor of using a
ready-to-go http.Client instance such as the one that
https://pkg.go.dev/golang.org/x/oauth2#section-readme may provide.

Signed-off-by: Juan Antonio Osorio <[email protected]>
Copy link
Contributor

@jnschaeffer jnschaeffer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch! Thanks for this.

@jnschaeffer jnschaeffer merged commit 59fab77 into infratographer:main Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants