mirror of
https://github.com/flarum/framework.git
synced 2025-02-18 09:12:45 +08:00
Fix newly-created event posts being undeletable
This commit is contained in:
parent
190c7a6741
commit
80a11ccc86
|
@ -24,7 +24,8 @@ class UpdateAction extends SerializeResourceAction
|
|||
*/
|
||||
public static $include = [
|
||||
'addedPosts' => true,
|
||||
'addedPosts.user' => true
|
||||
'addedPosts.user' => true,
|
||||
'addedPosts.discussion' => true
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user