mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +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 [
|
return [
|
||||||
'id' => $media->id,
|
'id' => $media->id,
|
||||||
'type' => 'image',
|
'type' => $media->activityVerb(),
|
||||||
'url' => $media->url(),
|
'url' => $media->url(),
|
||||||
'remote_url' => null,
|
'remote_url' => null,
|
||||||
'preview_url' => $media->thumbnailUrl(),
|
'preview_url' => $media->thumbnailUrl(),
|
||||||
|
|
Loading…
Reference in a new issue