mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update NotificationTransformer
This commit is contained in:
parent
2584b8b093
commit
904a90a849
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,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,
|
'created_at' => (string) $notification->created_at->format('c'),
|
||||||
'account' => null,
|
'account' => null,
|
||||||
'status' => null
|
'status' => null
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue