From 48ae8b38644f251769b9ff865207e487eb7ee599 Mon Sep 17 00:00:00 2001 From: alexshchur <60445720+alexshchur@users.noreply.github.com> Date: Wed, 26 Jun 2024 14:03:28 +0000 Subject: [PATCH] fix null case param data retrieval --- src/lib/paraswap-v6-stakers-transactions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/paraswap-v6-stakers-transactions.ts b/src/lib/paraswap-v6-stakers-transactions.ts index 87ff0046..adbac209 100644 --- a/src/lib/paraswap-v6-stakers-transactions.ts +++ b/src/lib/paraswap-v6-stakers-transactions.ts @@ -56,7 +56,7 @@ export async function fetchParaswapV6StakersTransactions(arg0: { .replace('{{contractAddressLowerCase}}', arg0.address) .replace( '{{timestampGreaterThan}}', - arg0.timestampGreaterThan ? `"${arg0.timestampGreaterThan}"` : 'null', + arg0.timestampGreaterThan ? `["${arg0.timestampGreaterThan}"]` : 'null', ); const data = await axios.get(url);