From 09bd46bb9d231844348d136854d0929b3c79264d Mon Sep 17 00:00:00 2001 From: LowEntropyFace Date: Sun, 9 Jan 2022 10:24:41 -0500 Subject: [PATCH] fix bug --- frontend/src/components/UserGenPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/UserGenPage.js b/frontend/src/components/UserGenPage.js index b0e165a8..d638f57d 100644 --- a/frontend/src/components/UserGenPage.js +++ b/frontend/src/components/UserGenPage.js @@ -60,7 +60,7 @@ export default class UserGenPage extends Component { method: 'DELETE', headers: {'Content-Type':'application/json', 'X-CSRFToken': getCookie('csrftoken')}, }; - fetch("/api/usergen", requestOptions) + fetch("/api/user", requestOptions) .then((response) => response.json()) .then((data) => console.log(data)); }