Skip to content

Commit

Permalink
feat: SJIP-556 update readme to have study name
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed Nov 8, 2023
1 parent 1b22656 commit 3efe1e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/reports/biospecimen-request/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const wantedFields = [
'participant.external_id',
'participant.participant_id',
'study.study_code',
'study.study_name',
'study.biobank_contact',
'study.biobank_request_link',
'study.note',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default async function generateFiles(

// Add biorepository request note to README content for the study
if ((row as any).study.note) {
readmeContent += `### ${study_code}\n\n`;
readmeContent += `### ${study_code} - ${(row as any).study.study_name}\n\n`;
readmeContent += `${(row as any).study.note}\n\n`;
}
}
Expand Down

0 comments on commit 3efe1e7

Please sign in to comment.