From bdaea5ae79f3124010e5b2ae4fc3ceec2eadd067 Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Wed, 6 Nov 2024 21:46:31 +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 793cf0d0..c98bb368 100644 --- a/frontend/src/app/api/categories/route.ts +++ b/frontend/src/app/api/categories/route.ts @@ -4,7 +4,7 @@ import { NextResponse } from "next/server"; export const dynamic = "force-static"; -const fetchCategories = async () => { +const fetchCategories = async (): Category[] => { const response = await fetch( `https://raw.githubusercontent.com/community-scripts/${basePath}/refs/heads/main/json/metadata.json`, );