Skip to content

Commit

Permalink
Fix for eid group members results (AMPATH#1123)
Browse files Browse the repository at this point in the history
  • Loading branch information
maikofelix47 authored Oct 25, 2021
1 parent a413060 commit 3faacda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/lab-integration/lab-sync-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,10 @@ export class LabSyncService {
for (let obs of payload) {
if (typeof obs === 'undefined') {
} else {
if (obs.hasOwnProperty('value')) {
if (obs.hasOwnProperty('value') || obs.hasOwnProperty('groupMembers')) {
promises.push(obsService.postObsToAMRS(obs));
} else {
console.log('Obs has no value or groupmembers', obs);
}
}
}
Expand Down

0 comments on commit 3faacda

Please sign in to comment.