Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed Dec 1, 2024
1 parent bec9bac commit be32fa4
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 @@ -308,7 +308,7 @@ protected function setUp(): void
]),
)
->when(
(filled($jobConnection) && ($jobConnection === 'sync')) ||
($jobConnection === 'sync') ||
(blank($jobConnection) && (config('queue.default') === 'sync')),
fn (Notification $notification) => $notification
->persistent()
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 @@ -75,7 +75,7 @@ public function handle(): void
)),
)
->when(
(filled($this->connection) && ($this->connection === 'sync')) ||
($this->connection === 'sync') ||
(blank($this->connection) && (config('queue.default') === 'sync')),
fn (Notification $notification) => $notification
->persistent()
Expand Down

0 comments on commit be32fa4

Please sign in to comment.