Changed publishers mapping for comic books
the publisher field on comic vine isn't an array
This commit is contained in:
parent
4eee3704e8
commit
01b56c9be5
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ export class ComicVineAPI extends APIModel {
|
|||
image: result.image?.original_url ?? '',
|
||||
|
||||
released: true,
|
||||
publishers: result.publisher.map((x: any) => x.name) ?? [],
|
||||
publishers: result.publisher.name ?? [],
|
||||
publishedFrom: result.start_year ?? 'unknown',
|
||||
publishedTo: 'unknown',
|
||||
status: result.status,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue