Update NotificationTransformer

pull/1708/head
Daniel Supernault 6 years ago
parent a24b4a40e0
commit 30402f8602
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save