diff --git a/framework/core/src/Api/Actions/Posts/CreateAction.php b/framework/core/src/Api/Actions/Posts/CreateAction.php index 76ea2249d..2ee4c8ce6 100644 --- a/framework/core/src/Api/Actions/Posts/CreateAction.php +++ b/framework/core/src/Api/Actions/Posts/CreateAction.php @@ -21,6 +21,10 @@ class CreateAction extends BaseCreateAction */ public static $serializer = 'Flarum\Api\Serializers\PostSerializer'; + public static $include = [ + 'user' => true + ]; + /** * Instantiate the action. *