import type { Job } from "bullmq";
import { publishScheduledNote } from "@/services/note/scheduled.js";

export async function publishScheduledNoteJob(job: Job<{ scheduledNoteId: string }>) {
	return await publishScheduledNote(job.data.scheduledNoteId);
}
