protected function hideUser($post) { return $this->hasOne($post, 'Flarum\\Api\\Serializer\\UserSerializer'); }