Skip to content

Commit a67d35b

Browse files
Compute the right URL for SteamAPI MediaDB entries
fixes #40
1 parent e478875 commit a67d35b

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)