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

grpc service method to get all webhook endpoints #790

Merged
merged 4 commits into from
Nov 30, 2021
Merged

Conversation

etsai-stripe
Copy link
Contributor

@etsai-stripe etsai-stripe commented Nov 29, 2021

Reviewers

r? @gracegoo-stripe
cc @stripe/developer-products

Summary

https://jira.corp.stripe.com/browse/DX-6996

tested with vscode
Screen Shot 2021-11-29 at 1 53 09 PM

return nil, err
}

endpoints := requests.WebhookEndpointsList(ctx, stripe.DefaultAPIBaseURL, "2019-03-14", key, &userConfig.Profile)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it okay to pin this to a specific API version?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the one other place using api version is also hardcoded. i made it into a constant to be shared between two places

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah okay, it's the specific version the CLI can read i am assuming?

@etsai-stripe etsai-stripe merged commit f60b7d0 into master Nov 30, 2021
@etsai-stripe etsai-stripe deleted the etsai/dx6996 branch September 6, 2022 16:22
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.

None yet

3 participants