Skip to content

Commit

Permalink
Merge branch 'master' into PLATFORM-160
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Sep 26, 2020
2 parents 207c4b4 + 381a840 commit 21db589
Show file tree
Hide file tree
Showing 2 changed files with 353 additions and 286 deletions.
11 changes: 4 additions & 7 deletions domains/DataCollection/Forms/IdentificationForm/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ const backgroundPostPatient = () => {
if (item.includes('PatientID-')) {
getData(item)
.then((postParams) => {
postObjectsToClass(postParams)
.then(() => {
// console.log(item, 'POSTED');
// delete item from async after it has been posted to parse
deleteData(item);
}, () => {
});
postObjectsToClass(postParams);
// console.log(item, 'POSTED');
// delete item from async after it has been posted to parse
deleteData(item);
});
}
});
Expand Down
Loading

0 comments on commit 21db589

Please sign in to comment.