fix: episode being scheduled incorrectly

This commit is contained in:
2024-09-13 09:13:28 -04:00
parent 76ed45558d
commit 6e28cc0ddb

View File

@@ -23,7 +23,7 @@ export async function maybeScheduleNextAiringEpisode(
const domain = getCurrentDomain(req);
const { messageId } = await client.publishJSON({
url: `${domain}/internal/new-episode`,
body: { aniListId, episode: nextEpisode },
body: { aniListId, episodeNumber: nextEpisode },
retries: 0,
delay: timeUntilAiring,
contentBasedDeduplication: true,