Skip to content

Commit

Permalink
scopes could be null
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryCarlyon committed Jun 21, 2023
1 parent 822c047 commit 79bf3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/token_checker/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ <h2>Output</h2>
let rightcell = document.createElement('td');
row.append(rightcell);

if (key == 'scopes') {
if (key == 'scopes' && resp[key] !== null) {
let ul = document.createElement('ul');
rightcell.append(ul);
for (let x=0;x<resp[key].length;x++) {
Expand Down

0 comments on commit 79bf3f0

Please sign in to comment.