Skip to content

Commit

Permalink
Fixed ts error.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Aug 29, 2023
1 parent 1a2b39f commit 1326ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databases/mongodb_db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Database = class extends AbstractDatabase {

clearPing() {
if (this.interval) {
clearInterval(this.interval);
clearInterval(this.interval[Symbol.toPrimitive]());
}
}

Expand Down

0 comments on commit 1326ce2

Please sign in to comment.