Skip to content

Commit

Permalink
run liquidation data
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Jun 25, 2024
1 parent 5a4ad4a commit 9fbacf8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/liquidation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -108,6 +108,8 @@ const scheduleLiquidation = async _ => {
console.log(`vault data error ${tokenID}`);
}
}

console.log(content)

await postToDiscord(content);
});
Expand Down

0 comments on commit 9fbacf8

Please sign in to comment.