Fix missing await when removing blocks

cshd
Dragory 2020-10-03 15:17:30 +03:00
parent 454ab75fec
commit 19b9d4db61
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }