Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jlumbroso committed Dec 26, 2023
1 parent f4e1a92 commit 8a9d323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ <h3>ORCID Data:</h3>
url: 'https://orcid.org/oauth/userinfo',
headers: { 'Authorization': 'Bearer ' + accessToken },
success: function(data) {
$("#name").text("Name: " + data.given_name + " " + data.family_name);
$("#orcidId").text("ORCID ID: " + data.sub);
$("#name").text(data.given_name + " " + data.family_name);
$("#orcidId").text(data.sub);
fetchOrcidData(data.sub, accessToken);
},
error: function() {
Expand Down

0 comments on commit 8a9d323

Please sign in to comment.