Fix Steam header image filter, was silently dropping the field
This commit is contained in:
@@ -260,7 +260,7 @@ function toItadDateTime(date) {
|
|||||||
|
|
||||||
async function fetchSteamDetails(appid) {
|
async function fetchSteamDetails(appid) {
|
||||||
const url = "https://store.steampowered.com/api/appdetails?appids=" + appid +
|
const url = "https://store.steampowered.com/api/appdetails?appids=" + appid +
|
||||||
"&cc=us&filters=categories,platforms,header_image";
|
"&cc=us&filters=categories,platforms,basic";
|
||||||
const res = await fetch(url);
|
const res = await fetch(url);
|
||||||
if (!res.ok) throw new Error("steam appdetails failed: " + res.status);
|
if (!res.ok) throw new Error("steam appdetails failed: " + res.status);
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
|
|||||||
Reference in New Issue
Block a user