From f07e2d9520db0757ef3898e4dd4eeb1e57f8baad Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 19 Jun 2015 17:19:09 +0930 Subject: [PATCH] Fix newly-created event posts being undeletable --- framework/core/src/Api/Actions/Discussions/UpdateAction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/core/src/Api/Actions/Discussions/UpdateAction.php b/framework/core/src/Api/Actions/Discussions/UpdateAction.php index c98745ae4..0f924a966 100644 --- a/framework/core/src/Api/Actions/Discussions/UpdateAction.php +++ b/framework/core/src/Api/Actions/Discussions/UpdateAction.php @@ -24,7 +24,8 @@ class UpdateAction extends SerializeResourceAction */ public static $include = [ 'addedPosts' => true, - 'addedPosts.user' => true + 'addedPosts.user' => true, + 'addedPosts.discussion' => true ]; /**