Skip to content

Commit faaec55

Browse files
authored
fix: url mapping of getParentSubaccount (#395)
Reference to the PR this one is created in place of [here](#389)
1 parent fcc169b commit faaec55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v4-client-js/src/clients/modules/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class AccountClient extends RestClient {
2626
}
2727

2828
async getParentSubaccount(address: string, parentSubaccountNumber: number): Promise<Data> {
29-
const uri = `/v4/addresses/${address}/subaccountNumber/${parentSubaccountNumber}`;
29+
const uri = `/v4/addresses/${address}/parentSubaccountNumber/${parentSubaccountNumber}`;
3030
return this.get(uri);
3131
}
3232

0 commit comments

Comments
 (0)