From 51abf03956a9d18c12d5a7deb9abbdc7f96b47ec Mon Sep 17 00:00:00 2001 From: ariyaltharun <107637700+ariyaltharun@users.noreply.github.com> Date: Mon, 20 May 2024 20:24:54 +0000 Subject: [PATCH] Update AccessData.jsx add user param to `/anonymize-data` route --- components/AccessData.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/AccessData.jsx b/components/AccessData.jsx index 3858e01..d20938f 100644 --- a/components/AccessData.jsx +++ b/components/AccessData.jsx @@ -128,7 +128,7 @@ function AccessData() { console.log(data); try { - const response = await fetch(`${baseUrl}/anonymize-data`, { + const response = await fetch(`${baseUrl}/anonymize-data?user=ADMIN`, { method: "POST", headers: { "Content-Type": "application/json",