mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 08:44:02 +00:00
Update NotificationTransformer
This commit is contained in:
parent
5ff4ba0807
commit
68e09477d0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue