Skip to content

Commit

Permalink
Remove deprecated dispatch_now in favor of dispatchSync (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysanthos authored Oct 27, 2022
1 parent 0246f20 commit 2be69ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listeners/AuthAttemptListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function handle($event)
if (config('auth-logging.sync', true)) {
dispatch(new LogAuthAction($payload));
} else {
dispatch_now(new LogAuthAction($payload));
dispatchSync(new LogAuthAction($payload));
}
}
}

0 comments on commit 2be69ce

Please sign in to comment.