Skip to content

Commit

Permalink
fixed webhooks queue name not static
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jun 16, 2024
1 parent be6a77e commit 9bdfc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/queues/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { BaseQueue } from './base'
import { closeBullQueue, getBullQueue } from './connection'

export class WebhooksQueue extends BaseQueue<PendingWebhook> {
queueName = 'webhooks'
static queueName = 'webhooks'

static getQueue = () => getBullQueue<PendingWebhook>(this.queueName)
static add = async (...params: Parameters<Queue<PendingWebhook>['add']>) =>
Expand Down

0 comments on commit 9bdfc99

Please sign in to comment.