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
a24b4a40e0
commit
30402f8602
1 changed files with 1 additions and 3 deletions
|
@ -21,9 +21,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->toISOString(),
|
||||||
'account' => null,
|
|
||||||
'status' => null
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue