(fix): Fixed issue wit boost refund mechanism when server error occurs minds/engine#2575
Ticket(s) / Related Merge Requests
minds/engine#2575
Summary of Changes
Added refund mechanism only when error occurs during boost request db entry creation. created specific exception type to cover the scenario
Testing Considerations
- Create a new account
- Boost a post via tokens
- See the tokens available have not been credited to the user's account
Deployment Considerations
Regression Scope
Platform Affected (web, mobile, etc)
Engine
Developer Testing Completed
Screenshots / Screen Recording
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Fausto Arcidiacono