From d30673e24d8fb7dc556f0a23c8b3fc0ed2c6ea00 Mon Sep 17 00:00:00 2001 From: matty Date: Sat, 14 Feb 2026 00:06:39 +0000 Subject: [PATCH] fix because I am a fuckin retard --- actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions.ts b/actions.ts index 375a1ab..8fcca60 100644 --- a/actions.ts +++ b/actions.ts @@ -10,7 +10,7 @@ const getRandomResultFromGCI = async ( const searchParams = new URLSearchParams(); searchParams.append("query", query); const response = await fetch( - `https://guncadindex.com/api/releases/?query=${searchParams}`, + `https://guncadindex.com/api/releases/?${searchParams}`, ); if (!response.ok) { console.error(response.status); @@ -21,7 +21,7 @@ const getRandomResultFromGCI = async ( if (!results || results.length === 0) { return { error: false, - payload: `https://guncadindex.com/search?query=${searchParams}`, + payload: `https://guncadindex.com/search?${searchParams}`, }; } // select a random result from the API