From 9fab40d12a78f1c75572218533229c6d564a3977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Mon, 2 May 2022 17:48:25 +0200 Subject: [PATCH] Fetch full board data after cloning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Service/BoardService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index 4dd2b05c3..5d6a88ba5 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -677,7 +677,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 {