support query parameters that contain an underscore.
Description
With this implementation, if a query param is not camelCased, both the camelCased and the original param would work (i.e. in case of auto_only, both auto_only and autoOnly are accepted). I'm not sure what the intention was before, possibly to support the camelCased option only.
Remove defaults for auto_only and manual_only since setting both defaults is mutually exclusive. Those defaults are set on the server side, no need to send both parameters.
Fixed error logging (now it contains a stringified body, instead of [object Object]
One-line summary
support query parameters that contain an underscore.
Description
With this implementation, if a query param is not camelCased, both the camelCased and the original param would work (i.e. in case of
auto_only
, bothauto_only
andautoOnly
are accepted). I'm not sure what the intention was before, possibly to support the camelCased option only.For example:
auto_only
andmanual_only
since setting both defaults is mutually exclusive. Those defaults are set on the server side, no need to send both parameters.[object Object]
Types of Changes
What types of changes does your code introduce? Keep the ones that apply:
listJobs
API fix