diff --git a/src/managers/BlacklistManager.ts b/src/managers/BlacklistManager.ts index 51827367f..1b1e4c677 100644 --- a/src/managers/BlacklistManager.ts +++ b/src/managers/BlacklistManager.ts @@ -104,7 +104,7 @@ export default class BlacklistManager { userOrServerId: string, hubId: string, expires?: Date, - reason: string = 'No reason provided.', + reason = 'No reason provided.', ): Promise { const hub = await db.hubs.findUnique({ where: { id: hubId } }); const expireString = expires ? `` : 'Never'; diff --git a/src/utils/DelayedQueue.ts b/src/utils/DelayedQueue.ts index 3f9b7f3f5..5dc1f8fe2 100644 --- a/src/utils/DelayedQueue.ts +++ b/src/utils/DelayedQueue.ts @@ -2,10 +2,10 @@ import { wait } from './Utils.js'; export default class DelayedQueue { private queue: (() => Promise)[] = []; - private isProcessing: boolean = false; + private isProcessing = false; private intervalMs: number; - constructor(intervalMs: number = 1000) { + constructor(intervalMs = 1000) { this.intervalMs = intervalMs; }