-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat(source-getlago): ignore 405 response for customer usage #45193
Merged
marcosmarxm
merged 4 commits into
airbytehq:master
from
sviande:connector_get_lago_fix_customer_usage
Sep 9, 2024
Merged
feat(source-getlago): ignore 405 response for customer usage #45193
marcosmarxm
merged 4 commits into
airbytehq:master
from
sviande:connector_get_lago_fix_customer_usage
Sep 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GetLago return a http 405 status code if the customer doesn't have any usage see https://github.com/getlago/lago-api/blob/1cc20119783ba9ffcec99071cb0fa4ff3d1752d2/spec/services/invoices/customer_usage_service_spec.rb#L282
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
sviande
temporarily deployed
to
community-ci-auto
September 6, 2024 14:17 — with
GitHub Actions
Inactive
sviande
temporarily deployed
to
community-ci-auto
September 6, 2024 14:17 — with
GitHub Actions
Inactive
marcosmarxm
changed the title
Connector getLago: ignore 405 response for customer usage
feat(source-getlago): ignore 405 response for customer usage
Sep 7, 2024
marcosmarxm
requested changes
Sep 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment.
sviande
temporarily deployed
to
community-ci-auto
September 9, 2024 14:43 — with
GitHub Actions
Inactive
sviande
temporarily deployed
to
community-ci-auto
September 9, 2024 14:43 — with
GitHub Actions
Inactive
octavia-squidington-iii
added
the
area/documentation
Improvements or additions to documentation
label
Sep 9, 2024
marcosmarxm
had a problem deploying
to
community-ci
September 9, 2024 17:58 — with
GitHub Actions
Error
marcosmarxm
had a problem deploying
to
community-ci-auto
September 9, 2024 17:58 — with
GitHub Actions
Error
marcosmarxm
had a problem deploying
to
community-ci
September 9, 2024 17:58 — with
GitHub Actions
Error
marcosmarxm
had a problem deploying
to
community-ci-auto
September 9, 2024 17:58 — with
GitHub Actions
Error
marcosmarxm
temporarily deployed
to
community-ci-auto
September 9, 2024 17:58 — with
GitHub Actions
Inactive
marcosmarxm
temporarily deployed
to
community-ci-auto
September 9, 2024 17:58 — with
GitHub Actions
Inactive
marcosmarxm
temporarily deployed
to
community-ci
September 9, 2024 17:58 — with
GitHub Actions
Inactive
marcosmarxm
temporarily deployed
to
community-ci
September 9, 2024 17:58 — with
GitHub Actions
Inactive
marcosmarxm
approved these changes
Sep 9, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks @sviande !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/connectors
Connector related issues
area/documentation
Improvements or additions to documentation
community
connectors/source/getlago
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
GetLago return a http 405 status code if the customer doesn't have any active subscription see https://github.com/getlago/lago-api/blob/1cc20119783ba9ffcec99071cb0fa4ff3d1752d2/spec/services/invoices/customer_usage_service_spec.rb#L282
How
Ignore the 405 status with the code no_active_subscription
Review guide
Import a customer who has no recorded usage.
User Impact
Prevent error when a customer has no active subscription
Can this PR be safely reverted and rolled back?