summaryrefslogtreecommitdiff
path: root/app/Job/ProjectFileEventJob.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/ProjectFileEventJob.php
parentb6119e7dee84869a619dedccd9c80df4422a4f5b (diff)
NotificationModel refactoring
Diffstat (limited to 'app/Job/ProjectFileEventJob.php')
-rw-r--r--app/Job/ProjectFileEventJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Job/ProjectFileEventJob.php b/app/Job/ProjectFileEventJob.php
index d68949c5..45e6ece3 100644
--- a/app/Job/ProjectFileEventJob.php
+++ b/app/Job/ProjectFileEventJob.php
@@ -36,7 +36,7 @@ class ProjectFileEventJob extends BaseJob
{
$event = ProjectFileEventBuilder::getInstance($this->container)
->withFileId($fileId)
- ->build();
+ ->buildEvent();
if ($event !== null) {
$this->dispatcher->dispatch($eventName, $event);