Update NotificationTransformer

This commit is contained in:
Daniel Supernault 2019-09-26 20:16:56 -06:00
parent 5ff4ba0807
commit 68e09477d0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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