cringe solution

This commit is contained in:
nolan 2021-06-21 14:28:12 -07:00
parent c25bf23098
commit 5fa127fda3

View File

@ -375,9 +375,8 @@ class ModerationManager {
} }
//TODO: Log this, should never error... hopefully. //TODO: Log this, should never error... hopefully.
console.log(i._id);
await this.client.storageManager.mongodb.infractions.updateOne( await this.client.storageManager.mongodb.infractions.updateOne(
{ _id: i._id }, { _id: `${i._id}` },
{ _callbacked: true } { _callbacked: true }
).catch((e) => {}); //eslint-disable-line no-empty, no-unused-vars, no-empty-function ).catch((e) => {}); //eslint-disable-line no-empty, no-unused-vars, no-empty-function