Skip to content

Commit

Permalink
Merge pull request #9 from saw-jan/fix/get-query-params
Browse files Browse the repository at this point in the history
fix: get requests doesn't pass query params correctly
  • Loading branch information
saw-jan authored May 24, 2024
2 parents 3c0c5e7 + d877092 commit 0163315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Request.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = class Request {
}

get(path, params = {}) {
return this.#axios.get(path, params)
return this.#axios.get(path, { params })
}

post(path, body) {
Expand Down

0 comments on commit 0163315

Please sign in to comment.