Skip to content

Commit 3456797

Browse files
committed
clean up
Signed-off-by: samin-z <samin.zavarkesh@gmail.com>
1 parent a959ce3 commit 3456797

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Service/ColumnTypes/UsergroupBusiness.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ public function validateValue(mixed $value, Column $column, string $userId, int
6262
}
6363
if ($userGroupEntry['type'] === UsergroupType::GROUP) {
6464
if (!$this->groupManager->get($userGroupEntry['id'])) {
65-
throw new BadRequestError('Group not found.');
65+
throw new BadRequestError('Group not found');
6666
}
6767
}
6868
if ($userGroupEntry['type'] === UsergroupType::CIRCLE) {
6969
if (!$this->circleHelper->circleExists($userGroupEntry['id'], $userId)) {
70-
throw new BadRequestError('Circle not found.');
70+
throw new BadRequestError('Circle not found');
7171
}
7272
}
7373
}

0 commit comments

Comments
 (0)