From 9fbacf892c24ee2863834b7dbe5bec82f13f5511 Mon Sep 17 00:00:00 2001 From: Ewan Sheldon Date: Tue, 25 Jun 2024 10:46:27 +0200 Subject: [PATCH] run liquidation data --- src/liquidation.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/liquidation.js b/src/liquidation.js index f1db406..baa0cd8 100644 --- a/src/liquidation.js +++ b/src/liquidation.js @@ -87,7 +87,7 @@ const scheduleLiquidation = async _ => { console.log(process.env.WEBHOOK_TOKEN); // posts liquidation info to discord - schedule.scheduleJob('40 * * * *', async _ => { + schedule.scheduleJob('50 * * * *', async _ => { console.log('logging liquidation info'); const { manager, wallet, provider } = await getVaultManager(); const EUROs = await getContract(network.name, 'EUROs'); @@ -108,6 +108,8 @@ const scheduleLiquidation = async _ => { console.log(`vault data error ${tokenID}`); } } + + console.log(content) await postToDiscord(content); });