Skip to content

Commit

Permalink
sample tree project id added
Browse files Browse the repository at this point in the history
  • Loading branch information
shyambhongle committed Oct 24, 2024
1 parent 2f83af5 commit 07aff18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/helpers/syncHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,8 @@ export const convertTreeToBody = (i: InterventionData, d: SampleTree, uType: str
return { pData: null, message: "Please assign a project to intervention", fixRequired: "PROJECT_ID_MISSING", error: "" }
}

if (uType === 'tpo' && d.project_id) {
postData.plantProject = d.project_id
if (uType === 'tpo' && i.project_id) {
postData.plantProject = i.project_id
}

if (uType === 'tpo' && i.site_id && i.site_id !== 'other') {
Expand Down

0 comments on commit 07aff18

Please sign in to comment.