Skip to content

Commit

Permalink
Merge pull request #12879 from rossbearman/enable-notification-events
Browse files Browse the repository at this point in the history
Dispatch DatabaseNotificationsSent from import/export jobs
  • Loading branch information
danharrin committed May 22, 2024
2 parents fe2bc20 + 2cc7a1b commit 0948be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/actions/src/Concerns/CanImportRecords.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ function (string $attribute, mixed $value, Closure $fail) use ($action) {
->markAsRead(),
]),
)
->sendToDatabase($import->user);
->sendToDatabase($import->user, isEventDispatched: true);
})
->dispatch();

Expand Down
2 changes: 1 addition & 1 deletion packages/actions/src/Exports/Jobs/ExportCompletion.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ public function handle(): void
$this->formats,
)),
)
->sendToDatabase($this->export->user);
->sendToDatabase($this->export->user, isEventDispatched: true);
}
}

0 comments on commit 0948be5

Please sign in to comment.