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

Use db transaction for post cleanup #1065

Merged
merged 4 commits into from
Aug 1, 2023

Conversation

Palakkgoyal
Copy link
Contributor

This PR closes #1063
Used db transaction for the cleanup of post deletion.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you Palakkgoyal! for creating this pull request and contributing to Dummygram! 💗

The maintainers will review this Pull Request and provide feedback as soon as possible! 😇
We appreciate your patience and contribution, Keep up the great work! 😀

src/components/Post/PostHeader.jsx Outdated Show resolved Hide resolved
@Palakkgoyal
Copy link
Contributor Author

I make the function such that image is deleted after the transaction. Can you please check?

Copy link
Owner

@narayan954 narayan954 left a comment

Choose a reason for hiding this comment

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

looks good to me!

@narayan954 narayan954 merged commit c550bab into narayan954:master Aug 1, 2023
2 of 4 checks passed
@Palakkgoyal Palakkgoyal deleted the batchOperation branch August 3, 2023 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use DB transaction for post cleanup
2 participants