Skip to content

Commit 2e89905

Browse files
Merge pull request #41 from CedricFinance/patch-1
Compute the right URL for SteamAPI MediaDB entries
2 parents 454246d + a67d35b commit 2e89905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/apis/SteamAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export class SteamAPI extends APIModel {
100100
englishTitle: result.name,
101101
year: (new Date(result.release_date.date)).getFullYear().toString(),
102102
dataSource: this.apiName,
103-
url: `https://store.steampowered.com/app/${result.id}`,
103+
url: `https://store.steampowered.com/app/${result.steam_appid}`,
104104
id: result.steam_appid,
105105

106106
genres: result.genres?.map((x: any) => x.description) ?? [],

0 commit comments

Comments
 (0)