Skip to content

Commit 1c5025e

Browse files
committed
Small queue lock update
1 parent 35330fb commit 1c5025e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/command-handlers/moderation/queueLock.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ export async function unlockQueue(queueId: number): Promise<boolean> {
1919
export async function lockAllQueuesHandler(): Promise<number> {
2020
const lockedIds = await lockAllQueues()
2121
await Promise.all(lockedIds.map((id) => clearQueueUsers(id)))
22-
if (lockedIds.length > 0) await updateQueueMessage()
22+
if (lockedIds.length > 0) await updateQueueMessage(true)
2323
return lockedIds.length
2424
}
2525

2626
export async function unlockAllQueuesHandler(): Promise<boolean> {
2727
const result = await unlockAllQueues()
28-
if (result) await updateQueueMessage()
28+
if (result) await updateQueueMessage(true)
2929
return result
3030
}
3131

0 commit comments

Comments
 (0)