From 30402f8602117d987d5e828804f987dc6d3064f6 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 20 Sep 2019 22:50:45 -0600 Subject: [PATCH] Update NotificationTransformer --- app/Transformer/Api/NotificationTransformer.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Transformer/Api/NotificationTransformer.php b/app/Transformer/Api/NotificationTransformer.php index 0408eeea..3463ed00 100644 --- a/app/Transformer/Api/NotificationTransformer.php +++ b/app/Transformer/Api/NotificationTransformer.php @@ -21,9 +21,7 @@ class NotificationTransformer extends Fractal\TransformerAbstract return [ 'id' => (string) $notification->id, 'type' => $this->replaceTypeVerb($notification->action), - 'created_at' => (string) $notification->created_at->format('c'), - 'account' => null, - 'status' => null + 'created_at' => (string) $notification->created_at->toISOString(), ]; }