Currently, the AgentCharge button in the UI is not working. As the frontend is passing wrong payload to the backend. Also, the entire Model relationship between Agent and AgentCharge is utterly broken. amount is not stored in the model. Fixing all this here, and adding a Seeder
Are there any other side effects of this change that we should be aware of?
No
Describe how you tested your changes?
Pull Request checklist
Please confirm you have completed any of the necessary steps below.
[ ] Meaningful Pull Request title and description
[ ] Changes tested as described above
[ ] Added appropriate documentation for the change.
[ ] Created GitHub issues for any relevant followup/future enhancements if appropriate.
Brief summary of the change made
Currently, the AgentCharge button in the UI is not working. As the frontend is passing wrong payload to the backend. Also, the entire Model relationship between
Agent
andAgentCharge
is utterly broken.amount
is not stored in the model. Fixing all this here, and adding a SeederAre there any other side effects of this change that we should be aware of?
No
Describe how you tested your changes?
Pull Request checklist
Please confirm you have completed any of the necessary steps below.