Skip to content

Commit

Permalink
Fix wrong removing of query param
Browse files Browse the repository at this point in the history
  • Loading branch information
joon9823 committed Aug 29, 2024
1 parent bd35e56 commit 9fbc469
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@initia/initia.js",
"version": "0.2.10",
"version": "0.2.11",
"description": "The JavaScript SDK for Initia",
"license": "Apache-2.0",
"author": "Initia Foundation",
Expand Down
2 changes: 1 addition & 1 deletion src/client/lcd/api/TxAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ export class TxAPI extends BaseAPI {
}, '')

if (query) params.append('query', query)
options['query'] = undefined
delete options['query']

Object.entries(options).forEach((v) => {
params.append(v[0], v[1].toString())
Expand Down

0 comments on commit 9fbc469

Please sign in to comment.