mirror of
https://github.com/flarum/framework.git
synced 2025-06-05 15:34:33 +08:00
Remove default relationships from serializers
This commit is contained in:
@ -54,7 +54,7 @@ export default class DiscussionPage extends mixin(Component, evented) {
|
||||
params() {
|
||||
return {
|
||||
near: this.currentNear,
|
||||
include: ['posts', 'posts.user']
|
||||
include: ['posts', 'posts.user', 'posts.user.groups']
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user