Handle board exceptions more gracefully
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -161,10 +161,6 @@ class BoardController extends ApiController {
|
||||
|
||||
/**
|
||||
* @NoAdminRequired
|
||||
* @param $boardId
|
||||
* @param $owner
|
||||
* @param $newOwner
|
||||
* * @return null|void
|
||||
*/
|
||||
public function transferOwner(int $boardId, string $newOwner): DataResponse {
|
||||
if ($this->permissionService->userIsBoardOwner($boardId, $this->userId)) {
|
||||
|
||||
Reference in New Issue
Block a user