From be704d922a939364597ff0b07f8e29889dd0848f Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 16 Jun 2025 22:48:45 +0200 Subject: [PATCH] Add a DO NOT REPORT disclaimer to "Already Requested" message --- tranga-website/src/api/fetchApi.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tranga-website/src/api/fetchApi.tsx b/tranga-website/src/api/fetchApi.tsx index 5460c61..5d06f8f 100644 --- a/tranga-website/src/api/fetchApi.tsx +++ b/tranga-website/src/api/fetchApi.tsx @@ -35,7 +35,7 @@ let currentlyRequestedEndpoints: string[] = []; function makeRequest(method: string, uri: string, content?: object | string | number | null | boolean) : Promise { const id = method + uri; if(currentlyRequestedEndpoints.find(x => x == id) != undefined) - return Promise.reject(`Already requested: ${method} ${uri}`); + return Promise.reject(`DO NOT REPORT! Already requested: ${method} ${uri}`); currentlyRequestedEndpoints.push(id); return fetch(uri, {