Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug where the users and tasks filter arrays on the organization activities page were not being sent correctly to the server. By default, Axios v1.x serializes array query parameters with bracket/index notation (e.g., users[0]=id1&users[1]=id2), but the server's tsoa @Query() users?: Array<string> parameter expects repeated-key notation (e.g., users=id1&users=id2). Adding paramsSerializer: { indexes: null } to the Axios request config instructs Axios to use the repeated-key format, making the filter functional.
Changes:
- Added
paramsSerializer: { indexes: null }to theorga/activitiesGET request so array query params (users,tasks) are serialized in the repeated-key format the server expects.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🎉 This PR is included in version timeclicker_client-v3.1.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version timeclicker_client-v3.1.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
No description provided.