Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Minimize diff
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Jan 13, 2023
1 parent 0ea2996 commit 34b9b77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/contacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -51,8 +52,8 @@ document.addEventListener("DOMContentLoaded", function(event) {

}
}
}
}
}
}).fail(function (response, code) {
console.log(response)
//alert('The token is invalid')
Expand Down

0 comments on commit 34b9b77

Please sign in to comment.