mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 04:04:21 -04:00
Fix poster creation of movie entries
This commit is contained in:
parent
9aa7815f57
commit
6a30173628
@ -90,6 +90,7 @@ export const insertEntries = async (
|
|||||||
language: "extra",
|
language: "extra",
|
||||||
name: seed.name,
|
name: seed.name,
|
||||||
description: null,
|
description: null,
|
||||||
|
poster: undefined,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,6 +99,10 @@ export const insertEntries = async (
|
|||||||
pk: ret[i].pk,
|
pk: ret[i].pk,
|
||||||
language: lang,
|
language: lang,
|
||||||
...tr,
|
...tr,
|
||||||
|
poster:
|
||||||
|
seed.kind === "movie"
|
||||||
|
? processOptImage((tr as any).poster)
|
||||||
|
: undefined,
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
await tx
|
await tx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user