Skip to content

Commit

Permalink
fix: transfer maker taker
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstefanequilobe committed Sep 2, 2022
1 parent c043a09 commit 5cdd60d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/controllers/project.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 5cdd60d

Please sign in to comment.