fix: adjust search request data structure for specific endpoint#191
fix: adjust search request data structure for specific endpoint#191
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests
Comment |
level09
left a comment
There was a problem hiding this comment.
Looks good, this fixes the immediate issue cleanly. in the future we could improve this by adding a queryFormat property to each components instead of hardcoded string matching with endpoints, I think it would be less fragile and offer better separation.
Done 🫡 |
Jira Issue
Description
Amend q in requestData per search endpoint. This is to accomodate the incident endpoint which accepts one query (vs A/B which accept multiple queries with bool ops).
Checklist
API Changes (if applicable)
Additional Notes
[Any other relevant information]