From 15c36b46db701cb7183b8a14667e00d0706055de Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Tue, 10 Feb 2026 16:00:32 +0700 Subject: [PATCH] refactor: change PushNotification model array cast from 'data' to 'subscriptions' --- app/Models/PushNotification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/PushNotification.php b/app/Models/PushNotification.php index bea4c70..5f1ff37 100644 --- a/app/Models/PushNotification.php +++ b/app/Models/PushNotification.php @@ -12,7 +12,7 @@ class PushNotification extends Model protected function casts(): array { return [ - 'data' => 'array', + 'subscriptions' => 'array', ]; }