Skip to content

Commit

Permalink
Update AccessData.jsx
Browse files Browse the repository at this point in the history
add user param to `/anonymize-data` route
  • Loading branch information
ariyaltharun authored May 20, 2024
1 parent 9418ba7 commit 51abf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/AccessData.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 51abf03

Please sign in to comment.