Renamed publisher to publishers and added array
Also added publisher/serialization support for MALAPI MAnga
This commit is contained in:
parent
f3e0b32bb8
commit
4eee3704e8
4 changed files with 7 additions and 4 deletions
|
|
@ -114,6 +114,7 @@ export class MALAPIManga extends APIModel {
|
|||
image: result.images?.jpg?.image_url ?? '',
|
||||
|
||||
released: true,
|
||||
publishers: result.serializations?.map((x: any) => x.name) ?? [],
|
||||
publishedFrom: new Date(result.published?.from).toLocaleDateString() ?? 'unknown',
|
||||
publishedTo: new Date(result.published?.to).toLocaleDateString() ?? 'unknown',
|
||||
status: result.status,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue