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

Change list of webhooks return type #294

Merged
merged 2 commits into from
Nov 30, 2023
Merged

Change list of webhooks return type #294

merged 2 commits into from
Nov 30, 2023

Conversation

jchen293
Copy link
Member

Description

This PR changes the return type for all() function in the webhook service from WebhookCollection to a list of webhooks. We made this change so it matches other type-strict client libraries (C# and Go) since this list is unpaginated.
Removed CarbonOffset model, this was missed from previous PR

Testing

Update the unit test

Pull Request Type

Please select the option(s) that are relevant to this PR.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Improvement (fixing a typo, updating readme, renaming a variable name, etc)

@jchen293 jchen293 requested a review from a team November 29, 2023 22:30
@jchen293 jchen293 merged commit 76d1207 into master Nov 30, 2023
17 checks passed
@jchen293 jchen293 deleted the webhook_collection branch November 30, 2023 17:11
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.

3 participants