mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 05:13:37 +08:00
Load category when getting notifications
This commit is contained in:
parent
8bb8122283
commit
45c4cffeea
|
@ -44,7 +44,9 @@ class CategoriesServiceProvider extends ServiceProvider
|
||||||
|
|
||||||
new ApiInclude(['discussions.index', 'discussions.show'], 'category', true),
|
new ApiInclude(['discussions.index', 'discussions.show'], 'category', true),
|
||||||
|
|
||||||
new ApiInclude(['activity.index'], 'subject.discussion.category', true),
|
new ApiInclude('activity.index', 'subject.discussion.category', true),
|
||||||
|
|
||||||
|
new ApiInclude('notifications.index', 'subject.category', true),
|
||||||
|
|
||||||
(new Permission('discussion.move'))
|
(new Permission('discussion.move'))
|
||||||
->serialize()
|
->serialize()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user