From b02c55e52cdbe2376b7ce8d62af5347cd7451fbe Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sun, 4 May 2014 17:51:07 +0200 Subject: [PATCH] Fixed post uploading --- src/Api/Jobs/AddPostJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Jobs/AddPostJob.php b/src/Api/Jobs/AddPostJob.php index ed12409e..f0a86fe7 100644 --- a/src/Api/Jobs/AddPostJob.php +++ b/src/Api/Jobs/AddPostJob.php @@ -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);