From 8ee3ff5a7de1afbc7db0f0f5940f077b5c331d70 Mon Sep 17 00:00:00 2001 From: Bas van den Aakster Date: Sat, 20 Sep 2025 19:02:38 +0200 Subject: [PATCH] Fix TypeScript build error in jobScheduler.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Use static values for task and queue in logging instead of accessing job properties - Properties 'task' and 'queue' don't exist on BaseJob type 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/utils/jobScheduler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/jobScheduler.ts b/src/utils/jobScheduler.ts index 373787b..ff7fc5b 100644 --- a/src/utils/jobScheduler.ts +++ b/src/utils/jobScheduler.ts @@ -73,8 +73,8 @@ export async function ensureEmailJob( jobId: job.id, emailId: normalizedEmailId, scheduledAt: options?.scheduledAt || 'immediate', - task: job.task, - queue: job.queue + task: 'process-email', + queue: queueName }) return {