feat(task): support mentor access for task management
This commit is contained in:
@@ -30,14 +30,6 @@ class ProjectService {
|
||||
|
||||
const normalizedEmails = this.normalizeEmails(member_emails || []);
|
||||
|
||||
if (normalizedEmails.length > 8) {
|
||||
return error(
|
||||
new BadRequestError(
|
||||
"Project member limit exceeded. Maximum member is 8",
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
const users =
|
||||
normalizedEmails.length > 0
|
||||
? await projectRepository.findUsersByEmails(normalizedEmails)
|
||||
|
||||
Reference in New Issue
Block a user