diff --git a/src/controllers/project.controller.js b/src/controllers/project.controller.js index 9d3a68f1..fc3c3cf9 100644 --- a/src/controllers/project.controller.js +++ b/src/controllers/project.controller.js @@ -280,7 +280,9 @@ const update = async (req, res, isTransfer = false) => { const newRecord = _.cloneDeep(req.body); const { orgUid } = await Organization.getHomeOrg(); - newRecord.orgUid = orgUid; + if (isTransfer) { + newRecord.orgUid = originalRecord.orgUid; + } const childRecordsKeys = [ 'projectLocations',