mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Merge pull request #3485 from shleeable/patch-20
Update MediaDraftTransformer.php
This commit is contained in:
commit
ccc219bf55
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