From 16657ec89199d23dd6e9c9a8bf0a764de54f1b25 Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Wed, 6 Nov 2024 21:47:02 +0100 Subject: [PATCH] Update frontend/src/app/api/categories/route.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- frontend/src/app/api/categories/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/api/categories/route.ts b/frontend/src/app/api/categories/route.ts index 545bd5a0..9f1b0804 100644 --- a/frontend/src/app/api/categories/route.ts +++ b/frontend/src/app/api/categories/route.ts @@ -12,7 +12,7 @@ const fetchCategories = async (): Category[] => { return data.categories; } -const fetchAllMetaDataFiles = async () => { +const fetchScripts = async (): Script[] => { const response = await fetch( `https://api.github.com/repos/community-scripts/${basePath}/contents/json`, );