diff --git a/src/state/watched/migrations/v3.ts b/src/state/watched/migrations/v3.ts index cbf081e2..71e0b182 100644 --- a/src/state/watched/migrations/v3.ts +++ b/src/state/watched/migrations/v3.ts @@ -32,14 +32,12 @@ export async function migrateV2Bookmarks(old: any) { const updatedBookmarks = oldData.bookmarks.map( async (item: { id: number; type: MWMediaType }) => ({ ...item, - mediaId: await migrateId(item.id, item.type), + id: await migrateId(item.id, item.type), }) ); return { - bookmarks: (await Promise.all(updatedBookmarks)).filter( - (item) => item.mediaId - ), + bookmarks: (await Promise.all(updatedBookmarks)).filter((item) => item.id), }; }