diff --git a/src/account-asset-client-v3.ts b/src/account-asset-client-v3.ts index 002d395..6649c38 100644 --- a/src/account-asset-client-v3.ts +++ b/src/account-asset-client-v3.ts @@ -265,7 +265,7 @@ export class AccountAssetClientV3 extends BaseRestClient { * Get Sub UID List */ getSubMembers(): Promise> { - return this.postPrivate('/user/v3/private/query-sub-members'); + return this.getPrivate('/user/v3/private/query-sub-members'); } /** diff --git a/src/types/request/account-asset.ts b/src/types/request/account-asset.ts index 2f9cd18..7ca7436 100644 --- a/src/types/request/account-asset.ts +++ b/src/types/request/account-asset.ts @@ -232,7 +232,7 @@ export interface CreateSubAPIKeyRequestV3 { readOnly: 0 | 1; ips?: string[]; permissions: { - ContractTrade?: []; + ContractTrade?: string[]; Spot?: string[]; Wallet?: string[]; Options?: string[];