From e8b68110301eec009f4d5b3401bd7bf3fbf4896a Mon Sep 17 00:00:00 2001 From: Ewan Sheldon Date: Tue, 25 Jun 2024 11:48:09 +0200 Subject: [PATCH] log token to check padding --- src/liquidation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/liquidation.js b/src/liquidation.js index ad2c3b9..4297e39 100644 --- a/src/liquidation.js +++ b/src/liquidation.js @@ -18,8 +18,6 @@ const postToDiscord = async content => { content, }); - console.log(data) - const options = { hostname: 'discord.com', port: 443, @@ -60,6 +58,8 @@ const getVaultManager = async _ => { const scheduleLiquidation = async _ => { const network = getNetwork('arbitrum'); + console.log(`/${process.env.WEBHOOK_TOKEN}/`) + // checks for undercollateralised vaults and liquidates schedule.scheduleJob('6,36 * * * *', async _ => {