mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 00:35:59 +00:00
Update NotificationTransformer
This commit is contained in:
parent
a24b4a40e0
commit
30402f8602
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue