Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 99877bb

Browse files
committed
fix: remove jobId from updateMetadata jobs
1 parent 073fe01 commit 99877bb

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/server/queue/updateMetadata.ts

+4-10
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,8 @@ export const updateMetadataQueue = new Queue('updateMetadataQueue', {
4444
});
4545

4646
export const scheduleUpdateMetadata = async (libraryPath: string, mangaTitle: string) => {
47-
await updateMetadataQueue.add(
48-
getMangaPath(libraryPath, mangaTitle),
49-
{
50-
libraryPath,
51-
mangaTitle,
52-
},
53-
{
54-
jobId: getMangaPath(libraryPath, mangaTitle),
55-
},
56-
);
47+
await updateMetadataQueue.add(getMangaPath(libraryPath, mangaTitle), {
48+
libraryPath,
49+
mangaTitle,
50+
});
5751
};

0 commit comments

Comments
 (0)