GET/HEAD requests: do not attach query parameter if value is undefined
#206
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Example
requestOptions.url
is now "https://api.github.com/repos/owner/repo/contents/path%2Fto%2Ffile.txt?ref=undefined", but should be just "https://api.github.com/repos/owner/repo/contents/path%2Fto%2Ffile.txt"I'd appreciate a pull request if anyone would like to work on this. You can start out by creating a pull request with a failing test reproducing the above behavior. The test will go into test/endpoint.test.ts.
The text was updated successfully, but these errors were encountered: