Skip to content
Permalink
Browse files

Fixed bug in ApiService flattenDomainData for type Sample

  • Loading branch information
ferryjagers committed Oct 7, 2019
1 parent 8aeb9e6 commit 2f2e67bf22d76ff86497997a5be4ac97d148e4ca
Showing with 1 addition and 1 deletion.
  1. +1 −1 grails-app/services/api/ApiService.groovy
@@ -146,7 +146,7 @@ class ApiService implements Serializable, ApplicationContextAware {
if(it instanceof Sample) {
item['subject'] = it.parentSubject?.UUID
item['sampleType'] = it.parentEvent.event?.UUID
item['sampleAndTreatmentGroup'] = it.eventGroup?.UUID
item['sampleAndTreatmentGroup'] = it.parentEventGroup?.UUID
}
else if ( it instanceof Subject ) {
item['subjectGroups'] = it.subjectGroups.name.join(', ')

0 comments on commit 2f2e67b

Please sign in to comment.
You can’t perform that action at this time.