Typings: annotate job param as any in queue worker

This commit is contained in:
2026-05-16 14:39:33 +02:00
parent ceb664f56c
commit 1b31a4a131
+1 -1
View File
@@ -16,7 +16,7 @@ export const queueScheduler = new QueueScheduler("analyze", { connection: redis
// Worker to process analyze jobs
export const worker = new Worker(
"analyze",
async (job) => {
async (job: any) => {
console.log("[queue] Processing analyze job", job.id, job.data.ticker);
const { ticker, input } = job.data as { ticker: string; input: any };
const apiKey = process.env.OPENROUTER_API_KEY;