mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Fix newly-created event posts being undeletable
This commit is contained in:
parent
de3f9d82a0
commit
f07e2d9520
|
@ -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