fix: update queue name for anilist updates

This commit is contained in:
2024-10-06 18:41:09 -04:00
parent 5f978205c4
commit 8a20b72bcb
3 changed files with 3 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ app.openapi(route, async (c) => {
await queueTask(
env(c, "workerd"),
"anilist",
"anilist-updates",
{
deviceId,
watchStatus,

View File

@@ -1 +1 @@
export type QueueName = "anilist" | "new-episode";
export type QueueName = "anilist-updates" | "new-episode";

View File

@@ -11,7 +11,7 @@ import { buildAnilistRetryTaskId, buildNewEpisodeTaskId } from "./id";
import type { QueueName } from "./queueName";
type QueueBody = {
anilist: {
"anilist-updates": {
deviceId: string;
watchStatus: WatchStatus | null;
titleId: number;