1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Perms: Fixed some issues made when adding transactions

This commit is contained in:
Dan Brown
2025-07-06 22:52:06 +01:00
parent 47fd578edb
commit 35a51197ce
2 changed files with 3 additions and 0 deletions

View File

@ -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();
}

View File

@ -37,6 +37,8 @@ class ChapterRepo
Activity::add(ActivityType::CHAPTER_CREATE, $chapter);
$this->baseRepo->sortParent($chapter);
return $chapter;
}))->run();
}