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