Skip to content

Commit

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

console.log(content)

// await postToDiscord(content);
await postToDiscord(content);
});
};

Expand Down

0 comments on commit c902dbc

Please sign in to comment.