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

Don't override pending payments. #678

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Don't override pending payments. #678

merged 1 commit into from
Dec 11, 2023

Conversation

roeierez
Copy link
Member

When we are using insert_or_update_payments we delete pending payments. Historically it was because this function only was called at the end of the sync. Now that we call it from different flows it is not longer correct. Added a flag for deleting pending payments and only set it within the sync.

@roeierez roeierez requested a review from dangeross December 11, 2023 13:28
Copy link
Collaborator

@dangeross dangeross left a comment

Choose a reason for hiding this comment

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

LGTM!

@roeierez roeierez merged commit 8d6f6ef into main Dec 11, 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