We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af842b0 commit 0d02782Copy full SHA for 0d02782
src/routes/projectMembers/update.js
@@ -154,7 +154,7 @@ module.exports = [
154
req.log.debug(`updated props ${JSON.stringify(updatedProps)}`);
155
req.log.debug(`previous values ${JSON.stringify(previousValue)}`);
156
// no updates if no change
157
- if ((updatedProps.role === previousValue.role || action === 'overwrite') &&
+ if ((updatedProps.role === previousValue.role || action === 'complete-copilot-requests') &&
158
(_.isUndefined(updatedProps.isPrimary) ||
159
updatedProps.isPrimary === previousValue.isPrimary)) {
160
await completeAllCopilotRequests(req, projectId, _transaction);
0 commit comments