Skip to content

Commit 66f710d

Browse files
committed
Fixing on the server.
1 parent ca32cc3 commit 66f710d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

v2.0/helpers/validation/validateuser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const checktoken = async function(req, res, next) {
3636
if (postresponse.status === 200) {
3737
const responsetext = await postresponse.text();
3838
const result = await JSON.parse(responsetext);
39+
console.log(result);
3940
if (Object.keys(result).includes('error')) {
4041
const msg = 'The ORCID token passed to Neotoma is not valid:' +
4142
token;

0 commit comments

Comments
 (0)