Fix null image bug for mobygames
This commit is contained in:
parent
7f85fe4bf8
commit
cf6fbe8f4f
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ export class MobyGamesAPI extends APIModel {
|
|||
publishers: [],
|
||||
genres: result.genres?.map((x: any) => x.genre_name) ?? [],
|
||||
onlineRating: result.moby_score,
|
||||
image: result.sample_cover.image ?? '',
|
||||
image: result?.sample_cover?.image ?? '',
|
||||
|
||||
released: true,
|
||||
releaseDate: result.platforms[0].first_release_date ?? 'unknown',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue