Forgot to add empty field for developers and publishers.
This commit is contained in:
parent
3effaaa974
commit
4ec494dbb3
1 changed files with 2 additions and 2 deletions
|
|
@ -82,8 +82,8 @@ export class MobyGamesAPI extends APIModel {
|
||||||
dataSource: this.apiName,
|
dataSource: this.apiName,
|
||||||
url: `https://www.mobygames.com/game/${result.game_id}`,
|
url: `https://www.mobygames.com/game/${result.game_id}`,
|
||||||
id: result.game_id,
|
id: result.game_id,
|
||||||
developers: result['developers'],
|
developers: [],
|
||||||
publishers: result['publishers'],
|
publishers: [],
|
||||||
genres: result.genres?.map((x: any) => x.genre_name) ?? [],
|
genres: result.genres?.map((x: any) => x.genre_name) ?? [],
|
||||||
onlineRating: result.moby_score,
|
onlineRating: result.moby_score,
|
||||||
image: result.sample_cover.image ?? '',
|
image: result.sample_cover.image ?? '',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue