Update NotificationTransformer

pull/1721/head
Daniel Supernault 6 years ago
parent 5ff4ba0807
commit 68e09477d0
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save