Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
Pass the account to /transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
Morley Zhi committed Sep 26, 2019
1 parent 8e52f7a commit a7f7d1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/wallet-sdk",
"version": "0.0.6-rc.1",
"version": "0.0.6-rc.2",
"description": "Libraries to help you write Stellar-enabled wallets in Javascript",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
7 changes: 4 additions & 3 deletions src/transfers/TransferProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ export abstract class TransferProvider {
);

const response = await fetch(
`${this.transferServer}/transactions?${queryString.stringify(
args as any,
)}`,
`${this.transferServer}/transactions?${queryString.stringify({
...args,
account: this.account,
})}`,
{
headers: isAuthRequired ? this.getHeaders() : undefined,
},
Expand Down

0 comments on commit a7f7d1b

Please sign in to comment.