apps/playground-api/src/bots/VaultBot.ts
Function run
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Interval(6000)
async run (): Promise<void> {
if (this.vaultId === undefined) {
this.vaultId = await this.client.loan.createVault({
loanSchemeId: 'MIN150',