From 370e43bf594b72f2e148cdc171282f9be507ce7c Mon Sep 17 00:00:00 2001 From: Tiago Date: Thu, 17 Mar 2022 19:33:37 +0000 Subject: [PATCH] Update src/linear-client.ts --- src/linear-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linear-client.ts b/src/linear-client.ts index c6c2f48..9b90ae8 100644 --- a/src/linear-client.ts +++ b/src/linear-client.ts @@ -85,7 +85,7 @@ export class LinearClient extends SharedEndpoints { reduce_only: boolean; close_on_trigger: boolean; order_link_id?: string; - position_idx: number; + position_idx?: number; }): GenericAPIResponse { return this.requestWrapper.post('private/linear/order/create', params); }