Skip to content

Commit

Permalink
fix null case param data retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshchur committed Jun 26, 2024
1 parent 6fe5cb1 commit 48ae8b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/paraswap-v6-stakers-transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 48ae8b3

Please sign in to comment.