Merge pull request #41 from CedricFinance/patch-1
Compute the right URL for SteamAPI MediaDB entries
This commit is contained in:
commit
2e89905a23
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ export class SteamAPI extends APIModel {
|
|||
englishTitle: result.name,
|
||||
year: (new Date(result.release_date.date)).getFullYear().toString(),
|
||||
dataSource: this.apiName,
|
||||
url: `https://store.steampowered.com/app/${result.id}`,
|
||||
url: `https://store.steampowered.com/app/${result.steam_appid}`,
|
||||
id: result.steam_appid,
|
||||
|
||||
genres: result.genres?.map((x: any) => x.description) ?? [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue