mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 21:43:17 +00:00
Update MediaTransformer
This commit is contained in:
parent
25649c70cc
commit
d0d4def3ec
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class MediaTransformer extends Fractal\TransformerAbstract
|
|||
{
|
||||
return [
|
||||
'id' => $media->id,
|
||||
'type' => 'image',
|
||||
'type' => $media->activityVerb(),
|
||||
'url' => $media->url(),
|
||||
'remote_url' => null,
|
||||
'preview_url' => $media->thumbnailUrl(),
|
||||
|
|
Loading…
Reference in a new issue