diff --git a/lib/config/queue.ts b/lib/config/queue.ts index ae93b80..6f0f575 100644 --- a/lib/config/queue.ts +++ b/lib/config/queue.ts @@ -20,8 +20,7 @@ export const getQueueConfig = (): { queue: QueueConfig } | null => { currentSigningKey: process.env .ACTIVITIES_QUEUE_CURRENT_SIGNING_KEY as string, nextSigningKey: process.env - .ACTIVITIES_QUEUE_NEXT_SIGNING_KEY as string, - queueName: process.env.ACTIVITIES_QUEUE_NAME as string + .ACTIVITIES_QUEUE_NEXT_SIGNING_KEY as string } } default: diff --git a/lib/services/queue/qstash.ts b/lib/services/queue/qstash.ts index 4a855a4..9eb5b8c 100644 --- a/lib/services/queue/qstash.ts +++ b/lib/services/queue/qstash.ts @@ -12,8 +12,7 @@ export const QStashConfig = z.object({ url: z.string().url(), token: z.string(), currentSigningKey: z.string(), - nextSigningKey: z.string(), - queueName: z.string() + nextSigningKey: z.string() }) export type QStashConfig = z.infer