mirror of
https://github.com/xtr-dev/payload-mailing.git
synced 2025-12-10 00:03:23 +00:00
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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user