Only requesting the fields needed on a game.

This commit is contained in:
Bradley Shellnut 2023-01-07 18:03:41 -08:00
parent a482df809a
commit 9f74e58a56

View file

@ -19,7 +19,9 @@ export const load: PageServerLoad = async ({ fetch, url }) => {
skip,
client_id: BOARD_GAME_ATLAS_CLIENT_ID,
fuzzy_match: true,
name: ''
name: '',
fields:
'id,name,minAge,minPlayers,maxPlayers,exactMinPlayers,exactMaxPlayers,thumb_url,players,playtime,min_age,description'
};
try {