Fixed post uploading
This commit is contained in:
parent
458aac971d
commit
b02c55e52c
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class AddPostJob extends AbstractJob
|
|||
//warning: it uses the same privileges as post editing internally
|
||||
$arguments = $this->getArguments();
|
||||
$arguments[EditPostJob::POST_ID] = $post->id;
|
||||
Api::execute(new EditPostJob(), $arguments);
|
||||
Api::run(new EditPostJob(), $arguments);
|
||||
|
||||
//load the post after edits
|
||||
$post = PostModel::findById($post->id);
|
||||
|
|
Loading…
Reference in a new issue