X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/47fd578edb0df2cc1613d7a823da6becc98e1f1a..refs/pull/5725/head:/app/Entities/Repos/BookshelfRepo.php diff --git a/app/Entities/Repos/BookshelfRepo.php b/app/Entities/Repos/BookshelfRepo.php index 5d4d604bc..8e60f58c4 100644 --- a/app/Entities/Repos/BookshelfRepo.php +++ b/app/Entities/Repos/BookshelfRepo.php @@ -30,6 +30,7 @@ class BookshelfRepo $this->baseRepo->updateCoverImage($shelf, $input['image'] ?? null); $this->updateBooks($shelf, $bookIds); Activity::add(ActivityType::BOOKSHELF_CREATE, $shelf); + return $shelf; }))->run(); }