From 75c02acdde2760adb309f2968944c909b3d64ef0 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Tue, 4 Aug 2015 17:15:57 +0930 Subject: [PATCH] Include discussion last user relationship in response after creating post --- framework/core/src/Api/Actions/Posts/CreateAction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/core/src/Api/Actions/Posts/CreateAction.php b/framework/core/src/Api/Actions/Posts/CreateAction.php index 23fa07a84..f02443c60 100644 --- a/framework/core/src/Api/Actions/Posts/CreateAction.php +++ b/framework/core/src/Api/Actions/Posts/CreateAction.php @@ -23,7 +23,8 @@ class CreateAction extends BaseCreateAction */ public $include = [ 'user' => true, - 'discussion' => true + 'discussion' => true, + 'discussion.lastUser' => true ]; /**