fix: PostObserver trigger published, submit cek kreator, toAll filter aktif, dead code
This commit is contained in:
@@ -36,6 +36,6 @@ class NotificationService
|
||||
|
||||
public static function toAll(string $title, string $body, string $color = 'info', ?string $url = null): void
|
||||
{
|
||||
self::send(User::all(), $title, $body, $color, $url);
|
||||
self::send(User::where('status', 'aktif')->get(), $title, $body, $color, $url);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user