From d7cf0b62d88eb09edc5228581f8a4f11d9cb921f Mon Sep 17 00:00:00 2001 From: Tiago Siebler Date: Fri, 13 Sep 2024 16:25:48 +0100 Subject: [PATCH] chore(): remove any cast --- src/CBAdvancedTradeClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CBAdvancedTradeClient.ts b/src/CBAdvancedTradeClient.ts index 8c77ce1..918f2b9 100644 --- a/src/CBAdvancedTradeClient.ts +++ b/src/CBAdvancedTradeClient.ts @@ -335,7 +335,7 @@ export class CBAdvancedTradeClient extends BaseRestClient { closePosition( params: CloseAdvTradePositionRequest, ): Promise { - this.validateOrderId(params as any, 'client_order_id'); + this.validateOrderId(params, 'client_order_id'); return this.postPrivate(`/api/v3/brokerage/orders/close_position`, { body: params, });