Include user in post creation response

This commit is contained in:
Toby Zerner 2015-05-14 22:35:10 +09:30
parent fbc63df63c
commit 827d6ca0e0

View File

@ -21,6 +21,10 @@ class CreateAction extends BaseCreateAction
*/
public static $serializer = 'Flarum\Api\Serializers\PostSerializer';
public static $include = [
'user' => true
];
/**
* Instantiate the action.
*