From a838a589c661dbb5fd6b98a43332ad5707bc6d4f Mon Sep 17 00:00:00 2001 From: Preston Doman Date: Fri, 1 Feb 2019 22:29:11 -0800 Subject: [PATCH] Fix bug in login.js --- front/static/js/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/static/js/login.js b/front/static/js/login.js index 900271d..8269c99 100644 --- a/front/static/js/login.js +++ b/front/static/js/login.js @@ -13,7 +13,7 @@ function postToLoginEndpoint(event) { const url = "https://reqres.in/api/login" // mock api service const xhr = new XMLHttpRequest(); - console.log("User credentials:\n" + JSON.stringify(credentials)"); + console.log("User credentials:\n" + JSON.stringify(credentials)); xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/json");