Open Hardik7538 opened 6 years ago
return callback(err, typeof body === 'string' ? JSON.parse(body) : body);
Hello. Thanks for providing more info about your code, or close the issue. Your problem is certainly due to a specific JS error and not frmo the node-linkedin API itself
return callback(err, typeof body === 'string' ? JSON.parse(body) : body);