summaryrefslogtreecommitdiff
path: root/app/Job/TaskFileEventJob.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-23 14:50:59 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-23 14:50:59 -0400
commita823cc1d08535539f850711c0b9edb5b648f1960 (patch)
tree0988d0fd6dba3fe304efcf3fadc0b6f0f715fa67 /app/Job/TaskFileEventJob.php
parentb6119e7dee84869a619dedccd9c80df4422a4f5b (diff)
NotificationModel refactoring
Diffstat (limited to 'app/Job/TaskFileEventJob.php')
-rw-r--r--app/Job/TaskFileEventJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Job/TaskFileEventJob.php b/app/Job/TaskFileEventJob.php
index de2c40db..293dbf27 100644
--- a/app/Job/TaskFileEventJob.php
+++ b/app/Job/TaskFileEventJob.php
@@ -36,7 +36,7 @@ class TaskFileEventJob extends BaseJob
{
$event = TaskFileEventBuilder::getInstance($this->container)
->withFileId($fileId)
- ->build();
+ ->buildEvent();
if ($event !== null) {
$this->dispatcher->dispatch($eventName, $event);