Skip to content

Commit

Permalink
update patientsUpsert path
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuchi committed Oct 1, 2024
1 parent 507ce01 commit b7a3e8e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions workflows/wf2/2-upsert-teis.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,10 @@ each(
}
)
);
fn(state => {
console.log('patientsToUpsert:: ', state.patientsUpsert);
return state;
});

// Upsert TEIs to DHIS2
each(
'patientsToUpsert[*]',
$.patientsUpsert,
upsert('trackedEntityInstances', $.data.query, $.data.data)
);
fn(state => {
Expand Down

0 comments on commit b7a3e8e

Please sign in to comment.