From ee7da08bc936646054965550d8f484c7ca0f8552 Mon Sep 17 00:00:00 2001 From: Mikhail Gladchenko Date: Wed, 28 Dec 2022 12:42:49 +0000 Subject: [PATCH] Parameter of getCFDHistory method was updated --- src/services/OrionBlockchain/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/OrionBlockchain/index.ts b/src/services/OrionBlockchain/index.ts index 76777cc..40c6ac5 100644 --- a/src/services/OrionBlockchain/index.ts +++ b/src/services/OrionBlockchain/index.ts @@ -393,7 +393,7 @@ class OrionBlockchain { cfdContractsSchema, ); - getCFDHistory = (address: string, query: CfdHistoryQuery) => { + getCFDHistory = (address: string, query: CfdHistoryQuery = {}) => { const url = new URL(`${this.apiUrl}/api/cfd/deposit-withdraw/${address}`); Object.entries(query)