diff --git a/orcid/orcidWork.ts b/orcid/orcidWork.ts index e92fbcb2..70b80ab2 100644 --- a/orcid/orcidWork.ts +++ b/orcid/orcidWork.ts @@ -141,7 +141,7 @@ export class WorkV3_0 { } } - if(resultLandingInfo.identifiers) { + if(resultLandingInfo.identifiers && resultLandingInfo.identifiers.size > 0) { work['external-ids'] = { 'external-id': [] }; resultLandingInfo.identifiers.forEach(((values, key) => { values.forEach(value => {