mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update MediaDraftTransformer.php
This commit is contained in:
parent
cb2e0fee3a
commit
eacbc06c3f
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ class MediaDraftTransformer extends Fractal\TransformerAbstract
|
|||
return [
|
||||
'id' => (string) $media->id,
|
||||
'type' => $media->activityVerb(),
|
||||
'url' => $url,
|
||||
'url' => $media->url(),
|
||||
'remote_url' => null,
|
||||
'preview_url' => $url,
|
||||
'preview_url' => $media->thumbnailUrl(),
|
||||
'text_url' => null,
|
||||
'meta' => null,
|
||||
'description' => $media->caption,
|
||||
|
|
Loading…
Reference in a new issue