From 837cf6f83c2823b680043e9eece99a574eaf815b Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 28 Nov 2020 15:43:37 -0600 Subject: [PATCH] Remove unused data from JSON lists --- helpers/build-app-list.js | 4 ++-- helpers/build-game-list.js | 2 +- helpers/build-homebrew-list.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/build-app-list.js b/helpers/build-app-list.js index ca4f001..a4f3292 100644 --- a/helpers/build-app-list.js +++ b/helpers/build-app-list.js @@ -188,14 +188,14 @@ export default async function () { name, status, lastUpdated, - url, + // url, text, slug: appSlug, endpoint, category: { slug: categorySlug }, - content: token.content, + // content: token.content, relatedLinks }) } diff --git a/helpers/build-game-list.js b/helpers/build-game-list.js index d1a0089..8380e6d 100644 --- a/helpers/build-game-list.js +++ b/helpers/build-game-list.js @@ -119,7 +119,7 @@ export default async function () { gameList.push({ name: game.Games, status, - url: `https://rawg.io/search?query=${encodeURIComponent(game.Games)}`, + // url: `https://rawg.io/search?query=${encodeURIComponent(game.Games)}`, text: getStatusText(game), slug, endpoint: `/game/${slug}`, diff --git a/helpers/build-homebrew-list.js b/helpers/build-homebrew-list.js index 02828e8..de4e741 100644 --- a/helpers/build-homebrew-list.js +++ b/helpers/build-homebrew-list.js @@ -145,7 +145,7 @@ export default async function () { formulaeList.push({ name: formulae.name, status: parseStatus(formulae), - url: `https://formulae.brew.sh/formula/${formulae.name}`, + // url: `https://formulae.brew.sh/formula/${formulae.name}`, text: getStatusText(formulae), slug, endpoint: `/formula/${slug}`,