@dmptool/utils 1.0.12 → 1.0.13
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 -1
- package/package.json +1 -1
package/dist/maDMP.js
CHANGED
|
@@ -228,7 +228,8 @@ async function loadContactFromPlanOwner(rdsConnectionParams, ownerId) {
|
|
|
228
228
|
const loadMemberInfo = async (rdsConnectionParams, planId) => {
|
|
229
229
|
const sql = `
|
|
230
230
|
SELECT pc.id, a.uri, a.name, pctr.email, pctr.givenName, pctr.surName,
|
|
231
|
-
pctr.orcid, pc.isPrimaryContact,
|
|
231
|
+
pctr.orcid, pc.isPrimaryContact,
|
|
232
|
+
CONCAT('["', GROUP_CONCAT(r.uri SEPARATOR '","'), '"]') as roles
|
|
232
233
|
FROM planMembers pc
|
|
233
234
|
LEFT JOIN planMemberRoles pcr ON pc.id = pcr.planMemberId
|
|
234
235
|
LEFT JOIN memberRoles r ON pcr.memberRoleId = r.id
|
package/package.json
CHANGED