Skip to content

Commit

Permalink
Fix response type for listCashAccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
heysanil committed Jan 6, 2022
1 parent 4f7dcf5 commit d46d8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AccountsAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class AccountsAPI {
/**
* Lists all the existing cash accounts with their status.
*/
listCashAccounts = async (): Promise<ApiListResponse<CashAccount[]>> => this.request({
listCashAccounts = async (): Promise<ApiListResponse<CashAccount>> => this.request({
endpoint: 'accounts/cash',
method: 'GET',
apiVersion: 'v2',
Expand Down

0 comments on commit d46d8d7

Please sign in to comment.