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

Fix: missing parent charge in the database #2893

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

annvelents
Copy link
Contributor

Context

We started having errors in sidekiq that charge cannot be saved because parent_id charge does not exist in the database

Description

Wrap cascade_charge_creation in after_commit block

@annvelents annvelents merged commit bad5146 into main Nov 29, 2024
6 checks passed
@annvelents annvelents deleted the fix-charges-not-cascaded branch November 29, 2024 11:31
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