From c902dbc3e7728683f2ffa6e8592a9af8224504d2 Mon Sep 17 00:00:00 2001 From: Ewan Sheldon Date: Tue, 25 Jun 2024 11:25:40 +0200 Subject: [PATCH] actually post to discord this time ... --- src/liquidation.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/liquidation.js b/src/liquidation.js index 2a1310e..b0d1d72 100644 --- a/src/liquidation.js +++ b/src/liquidation.js @@ -85,7 +85,7 @@ const scheduleLiquidation = async _ => { }); // posts liquidation info to discord - schedule.scheduleJob('20 * * * *', async _ => { + schedule.scheduleJob('30 * * * *', async _ => { console.log('logging liquidation info'); const { manager, wallet, provider } = await getVaultManager(); const EUROs = await getContract(network.name, 'EUROs'); @@ -106,10 +106,8 @@ const scheduleLiquidation = async _ => { console.log(`vault data error ${tokenID}`); } } - - console.log(content) - // await postToDiscord(content); + await postToDiscord(content); }); };