Update NotificationTransformer

This commit is contained in:
Daniel Supernault 2019-04-30 20:48:35 -06:00
parent 2584b8b093
commit 904a90a849
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -17,7 +17,7 @@ class NotificationTransformer extends Fractal\TransformerAbstract
return [
'id' => (string) $notification->id,
'type' => $this->replaceTypeVerb($notification->action),
'created_at' => (string) $notification->created_at,
'created_at' => (string) $notification->created_at->format('c'),
'account' => null,
'status' => null
];