From 5fa127fda31f5187d0eb94f876dded369ed1e995 Mon Sep 17 00:00:00 2001 From: nolan Date: Mon, 21 Jun 2021 14:28:12 -0700 Subject: [PATCH] cringe solution --- structure/moderation/ModerationManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/structure/moderation/ModerationManager.js b/structure/moderation/ModerationManager.js index 55d9c41..57f6e9b 100644 --- a/structure/moderation/ModerationManager.js +++ b/structure/moderation/ModerationManager.js @@ -375,9 +375,8 @@ class ModerationManager { } //TODO: Log this, should never error... hopefully. - console.log(i._id); await this.client.storageManager.mongodb.infractions.updateOne( - { _id: i._id }, + { _id: `${i._id}` }, { _callbacked: true } ).catch((e) => {}); //eslint-disable-line no-empty, no-unused-vars, no-empty-function