Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ workflows:
context : org-global
filters:
branches:
only: ['develop', 'migration-setup', 'pm-1173_1']
only: ['develop', 'migration-setup', 'pm-1355_1']
- deployProd:
context : org-global
filters:
Expand Down
4 changes: 3 additions & 1 deletion src/routes/projectMemberInvites/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ const updateMemberValidations = {
status: Joi.any()
.valid(_.values(INVITE_STATUS))
.required(),
source: Joi.string()
source: Joi
.string()
.valid(_.values(INVITE_SOURCE))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from INVITE_STATUS to INVITE_SOURCE seems to align with the pull request description of making the source field optional. However, ensure that INVITE_SOURCE is correctly defined and imported in this context, and that it contains the appropriate values for validation.

.default(INVITE_SOURCE.WORK_MANAGER),
})
.required(),
Expand Down