@dmptool/utils 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/maDMP.js +2 -2
- package/package.json +1 -1
package/dist/maDMP.js
CHANGED
|
@@ -574,7 +574,7 @@ const buildDMPToolExtensions = async (rdsConnectionParams, applicationName, doma
|
|
|
574
574
|
// Define the Funder's project number if applicable. project_id and funder_id
|
|
575
575
|
// are used to help tie the project_identifier to the correct
|
|
576
576
|
// project[?].funding[?] in the RDA Common Standard.
|
|
577
|
-
if (funding.funderProjectNumber
|
|
577
|
+
if (funding.funderProjectNumber) {
|
|
578
578
|
funderProject = {
|
|
579
579
|
project_id: projectId,
|
|
580
580
|
funder_id: funderId,
|
|
@@ -589,7 +589,7 @@ const buildDMPToolExtensions = async (rdsConnectionParams, applicationName, doma
|
|
|
589
589
|
// Define the Funder's opportunity number if applicable. project_id and
|
|
590
590
|
// funder_id are used to help tie the opportunity_identifier to the correct
|
|
591
591
|
// project[?].funding[?] in the RDA Common Standard.
|
|
592
|
-
if (funding.funderOpportunityNumber
|
|
592
|
+
if (funding.funderOpportunityNumber) {
|
|
593
593
|
funderOpportunity = {
|
|
594
594
|
project_id: projectId,
|
|
595
595
|
funder_id: funderId,
|
package/package.json
CHANGED