Fix TypeScript build error in jobScheduler.ts

- 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 <noreply@anthropic.com>
This commit is contained in:
2025-09-20 19:02:38 +02:00
parent 2f46dde532
commit 8ee3ff5a7d

View File

@@ -73,8 +73,8 @@ export async function ensureEmailJob(
jobId: job.id, jobId: job.id,
emailId: normalizedEmailId, emailId: normalizedEmailId,
scheduledAt: options?.scheduledAt || 'immediate', scheduledAt: options?.scheduledAt || 'immediate',
task: job.task, task: 'process-email',
queue: job.queue queue: queueName
}) })
return { return {