Expand image id

This commit is contained in:
Roman Cervantes 2019-06-07 10:26:47 -07:00
parent 888f91b557
commit 3589bfe62d

View file

@ -74,7 +74,7 @@ exports.searchV2 = functions.https.onRequest((req, res) => {
const { search, platform } = req.query;
const data = `search "${search}"; fields id,name,slug,rating,name,cover.url; where platforms = (${platform});`
const data = `search "${search}"; fields id,name,slug,rating,name,cover.image_id; where platforms = (${platform});`
axios({
url: 'https://api-v3.igdb.com/games',