Update NotificationTransformer

This commit is contained in:
Daniel Supernault 2019-09-20 22:50:45 -06:00
parent a24b4a40e0
commit 30402f8602
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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(),
];
}