fix: update queue name for anilist updates
This commit is contained in:
@@ -118,7 +118,7 @@ app.openapi(route, async (c) => {
|
|||||||
|
|
||||||
await queueTask(
|
await queueTask(
|
||||||
env(c, "workerd"),
|
env(c, "workerd"),
|
||||||
"anilist",
|
"anilist-updates",
|
||||||
{
|
{
|
||||||
deviceId,
|
deviceId,
|
||||||
watchStatus,
|
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";
|
import type { QueueName } from "./queueName";
|
||||||
|
|
||||||
type QueueBody = {
|
type QueueBody = {
|
||||||
anilist: {
|
"anilist-updates": {
|
||||||
deviceId: string;
|
deviceId: string;
|
||||||
watchStatus: WatchStatus | null;
|
watchStatus: WatchStatus | null;
|
||||||
titleId: number;
|
titleId: number;
|
||||||
|
|||||||
Reference in New Issue
Block a user