We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca32cc3 commit 66f710dCopy full SHA for 66f710d
v2.0/helpers/validation/validateuser.js
@@ -36,6 +36,7 @@ const checktoken = async function(req, res, next) {
36
if (postresponse.status === 200) {
37
const responsetext = await postresponse.text();
38
const result = await JSON.parse(responsetext);
39
+ console.log(result);
40
if (Object.keys(result).includes('error')) {
41
const msg = 'The ORCID token passed to Neotoma is not valid:' +
42
token;
0 commit comments