correctly call GET instead of POST when querying query-sub-members

This commit is contained in:
Michael Lake
2023-02-15 15:34:21 +01:00
parent 7e9fe9b846
commit 6ccc084bc0

View File

@@ -265,7 +265,7 @@ export class AccountAssetClientV3 extends BaseRestClient {
* Get Sub UID List
*/
getSubMembers(): Promise<APIResponseWithTime<SubMemberResponseV3>> {
return this.postPrivate('/user/v3/private/query-sub-members');
return this.getPrivate('/user/v3/private/query-sub-members');
}
/**