fix: update queue name for anilist updates
This commit is contained in:
@@ -118,7 +118,7 @@ app.openapi(route, async (c) => {
|
||||
|
||||
await queueTask(
|
||||
env(c, "workerd"),
|
||||
"anilist",
|
||||
"anilist-updates",
|
||||
{
|
||||
deviceId,
|
||||
watchStatus,
|
||||
|
||||
@@ -1 +1 @@
|
||||
export type QueueName = "anilist" | "new-episode";
|
||||
export type QueueName = "anilist-updates" | "new-episode";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user