Skip to content

Commit 11f28ce

Browse files
remove id
1 parent 4043d45 commit 11f28ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/user.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ User.createAccount = async function(params) {
5757
}
5858
*/
5959
User.getAccountLedgers = async function(params) {
60-
let endpoint = `/api/v1/accounts/${params.id}/ledgers`
61-
delete params.accountId
60+
let endpoint = `/api/v1/accounts/ledgers`
6261
let url = this.baseURL + endpoint + this.formatQuery(params)
6362
let result = await axios.get(url, this.sign(endpoint, params, 'GET'))
6463
return result.data

0 commit comments

Comments
 (0)