mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -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",
|
||||
name: seed.name,
|
||||
description: null,
|
||||
poster: undefined,
|
||||
};
|
||||
}
|
||||
|
||||
@ -98,6 +99,10 @@ export const insertEntries = async (
|
||||
pk: ret[i].pk,
|
||||
language: lang,
|
||||
...tr,
|
||||
poster:
|
||||
seed.kind === "movie"
|
||||
? processOptImage((tr as any).poster)
|
||||
: undefined,
|
||||
}));
|
||||
});
|
||||
await tx
|
||||
|
Loading…
x
Reference in New Issue
Block a user