This commit is contained in:
LowEntropyFace 2022-01-09 10:24:41 -05:00
parent aa8e1f50a2
commit 09bd46bb9d

View File

@ -60,7 +60,7 @@ export default class UserGenPage extends Component {
method: 'DELETE', method: 'DELETE',
headers: {'Content-Type':'application/json', 'X-CSRFToken': getCookie('csrftoken')}, headers: {'Content-Type':'application/json', 'X-CSRFToken': getCookie('csrftoken')},
}; };
fetch("/api/usergen", requestOptions) fetch("/api/user", requestOptions)
.then((response) => response.json()) .then((response) => response.json())
.then((data) => console.log(data)); .then((data) => console.log(data));
} }