Remove setRequestHeaders line

This commit is contained in:
Preston Doman 2019-01-27 21:40:49 -08:00
parent d3acce9b78
commit d4b569187e

View file

@ -86,7 +86,7 @@ function getReportHistory(event) {
console.log(`Attempting a connection to the following endpoint: ${url}`);
xhr.open("GET", url, true);
xhr.setRequestHeader("Authorization", `Token ${token}`);
//xhr.setRequestHeader("Authorization", `Token ${token}`);
xhr.onreadystatechange = function() {
if (this.readyState === 4) {
if (this.status === 200) {