Skip to content

Commit 37f740c

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

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
@@ -31,7 +31,7 @@ const updateProjectMemberValdiations = {
3131
PROJECT_MEMBER_ROLE.SOLUTION_ARCHITECT,
3232
PROJECT_MEMBER_ROLE.PROJECT_MANAGER,
3333
).required(),
34-
action: Joi.string().optional(),
34+
action: Joi.string().allow('').optional(),
3535
}),
3636
query: {
3737
fields: Joi.string().optional(),

0 commit comments

Comments
 (0)