Skip to content

Commit

Permalink
Merge pull request #38 from kyledoesdev/hotfix/fix-mail-from
Browse files Browse the repository at this point in the history
test without defer
  • Loading branch information
kyledoesdev authored Nov 7, 2024
2 parents f68a99c + 3892cef commit e66ab7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Http/Controllers/RankingDownloadController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ public function index(): JsonResponse
->with('songs', 'artist')
->get();

defer(fn() => Notification::send(auth()->user(), new DownloadDataNotification($rankings)));
//defer(fn() => );
Notification::send(auth()->user(), new DownloadDataNotification($rankings));

return response()->json([
'success' => true,
Expand Down

0 comments on commit e66ab7e

Please sign in to comment.