1
0
Fork 0

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
1 changed files with 1 additions and 3 deletions

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