Fix an issue where retried GET requests are retried without query parameters
Description
When retryConfig.enabled = true, if a GET request is retried, it will be done without query parameters
For example, if you do chargebee.subscription.list({ "customer_id[is]": "xxx" }) and the first attempt fails, all retries will behave as if you did chargebee.subscription.list()
This can be very surprising
The bug is here: https://github.com/chargebee/chargebee-node/blob/5d368515075c13c74a62575d3d3a8f02810f8dc8/src/RequestWrapper.ts#L104
Related Issues
None
Additional Information
None
Hey @cb-alish, what do you think about this one? Thanks
Hi @ksullivan, sorry for the delay — I completely missed this. We’ll review it and include it in the library if it’s valid. Please give us a bit of time.