From 34b9b7710c3ea876fac955f7a0e236242990072f Mon Sep 17 00:00:00 2001 From: Michiel de Jong Date: Fri, 13 Jan 2023 11:40:29 +0000 Subject: [PATCH] Minimize diff --- js/contacts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/contacts.js b/js/contacts.js index 298c66f..3dbfbc0 100644 --- a/js/contacts.js +++ b/js/contacts.js @@ -15,6 +15,7 @@ document.addEventListener("DOMContentLoaded", function(event) { let token = JSON.parse(response); for(tokenData in token) { if(token.hasOwnProperty(tokenData)) { + console.log(tokenData); if(tokenData === 'accepted_users') { let accepted_users = token.accepted_users for(accept in accepted_users) { @@ -51,8 +52,8 @@ document.addEventListener("DOMContentLoaded", function(event) { } } - } } + } }).fail(function (response, code) { console.log(response) //alert('The token is invalid')