From ec5d603796977573b136addfeb1b8355745b00d7 Mon Sep 17 00:00:00 2001 From: 0xngmi <0xngmi@protonmail.com> Date: Wed, 26 Jun 2024 16:52:54 +0100 Subject: [PATCH] fix timestamp --- projects/fusefi-lending/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/fusefi-lending/index.js b/projects/fusefi-lending/index.js index 79b5685fc121..dacc669eb407 100644 --- a/projects/fusefi-lending/index.js +++ b/projects/fusefi-lending/index.js @@ -11,11 +11,11 @@ const olalending = usdCompoundExports(unitroller_fuse, "fuse", "0x025B0ff0920298 module.exports = { fuse:{ tvl: olalending.tvl, - borrowed: async function(timestamp, ...otherParams){ - if(timestamp >= 1648684800){ + borrowed: async function(api){ + if(api.timestamp >= 1648684800){ return {} } - return olalending.borrowed(timestamp, ...otherParams) + return olalending.borrowed(api) } }, hallmarks: [