Skip to content

Commit 1b9185a

Browse files
author
Parth Shah
committed
Merge branch 'hotfix/update-member-api-fix'
2 parents 53cbd23 + c03fa89 commit 1b9185a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes/projectMembers/update.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ module.exports = [
7373
operations.push(models.ProjectMember.update({ isPrimary: false, updatedBy: req.authUser.userId },
7474
{
7575
where: {
76+
projectId,
7677
isPrimary: true,
7778
role: updatedProps.role,
7879
id: {

0 commit comments

Comments
 (0)