Fetch full board data after cloning

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-05-02 17:48:25 +02:00
committed by backportbot-nextcloud[bot]
parent f453f69cce
commit 8eab97a92a

View File

@@ -679,7 +679,7 @@ class BoardService {
$this->stackMapper->insert($newStack);
}
return $newBoard;
return $this->find($newBoard->getId());
}
public function transferBoardOwnership(int $boardId, string $newOwner, bool $changeContent = false): Board {