mirror of
https://github.com/flarum/core.git
synced 2025-07-29 12:40:40 +02:00
Don't include some relations by default
This commit is contained in:
@@ -34,9 +34,9 @@ class MentionsServiceProvider extends ServiceProvider
|
||||
(new Extend\ApiAction('Flarum\Api\Actions\Discussions\ShowAction'))
|
||||
->addInclude('posts.mentionedBy')
|
||||
->addInclude('posts.mentionedBy.user')
|
||||
->addInclude('posts.mentionsPosts')
|
||||
->addInclude('posts.mentionsPosts.user')
|
||||
->addInclude('posts.mentionsUsers'),
|
||||
->addInclude('posts.mentionsPosts', false)
|
||||
->addInclude('posts.mentionsPosts.user', false)
|
||||
->addInclude('posts.mentionsUsers', false),
|
||||
|
||||
(new Extend\ApiAction([
|
||||
'Flarum\Api\Actions\Posts\IndexAction',
|
||||
|
Reference in New Issue
Block a user