Skip to content

Commit 993ea57

Browse files
committed
fix: allow action to be empty string
1 parent 37f740c commit 993ea57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/projectMembers/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ module.exports = [
207207
if ((updatedProps.role === previousValue.role || action === 'complete-copilot-requests') &&
208208
(_.isUndefined(updatedProps.isPrimary) ||
209209
updatedProps.isPrimary === previousValue.isPrimary)) {
210-
await completeAllCopilotRequests(req, projectId, _transaction);
210+
await completeAllCopilotRequests(req, projectId, _transaction, _member);
211211
return Promise.resolve();
212212
}
213213

0 commit comments

Comments
 (0)