Fix missing await when removing blocks
parent
454ab75fec
commit
19b9d4db61
|
@ -20,7 +20,7 @@ module.exports = ({ bot, knex, config, commands }) => {
|
|||
|
||||
async function expiredBlockLoop() {
|
||||
try {
|
||||
removeExpiredBlocks();
|
||||
await removeExpiredBlocks();
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue