v1.5.0 Added notifications - Pytlick
This commit is contained in:
@@ -73,7 +73,7 @@ class NewsController extends Controller
|
||||
$news->save();
|
||||
|
||||
Helpers::sendNewsNotification($news, User::query()->where("wants_emails", "=", true)->get());
|
||||
|
||||
PushNotificationController::push();
|
||||
return redirect()->route("news.index");
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@ class NewsController extends Controller
|
||||
$news->save();
|
||||
|
||||
Helpers::sendNewsNotification($news, User::query()->where("wants_emails", "=", true)->get());
|
||||
|
||||
PushNotificationController::push();
|
||||
return $news;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user