mirror of
https://github.com/flarum/framework.git
synced 2025-03-05 04:06:25 +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 = [
|
public static $include = [
|
||||||
'addedPosts' => true,
|
'addedPosts' => true,
|
||||||
'addedPosts.user' => true
|
'addedPosts.user' => true,
|
||||||
|
'addedPosts.discussion' => true
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user