Skip to content

Commit

Permalink
fix(): Fixed subaccount params
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ-Cro committed Aug 19, 2024
1 parent 7121160 commit f9fb705
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/main-client-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ export class MainClient extends BaseRestClient {
}

subAccountDeleteIPList(
params: EnableOrDisableIPRestrictionForSubAccountParams,
params: SubAccountAddOrDeleteIPList,
): Promise<SubAccountEnableOrDisableIPRestriction> {
return this.deletePrivate(
'sapi/v1/sub-account/subAccountApi/ipRestriction/ipList',
Expand Down
1 change: 0 additions & 1 deletion src/types/spot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,6 @@ export interface CreateSubAccountParams {

export interface EnableOrDisableIPRestrictionForSubAccountParams
extends BasicSubAccount {
status: string;
ipAddress?: string;
}
export interface GetBrokerSubAccountHistoryParams {
Expand Down

0 comments on commit f9fb705

Please sign in to comment.