From d4b569187e3087d271d9b07ee9622c11d1a706e6 Mon Sep 17 00:00:00 2001 From: Preston Doman Date: Sun, 27 Jan 2019 21:40:49 -0800 Subject: [PATCH] Remove setRequestHeaders line --- front/static/js/viewHistory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/static/js/viewHistory.js b/front/static/js/viewHistory.js index d0ad888..983620a 100644 --- a/front/static/js/viewHistory.js +++ b/front/static/js/viewHistory.js @@ -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) {