Update MediaTransformer, remove cache busting

This commit is contained in:
Daniel Supernault 2021-01-24 21:11:52 -07:00
parent ce6ab80dba
commit 258b2729d3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ class MediaTransformer extends Fractal\TransformerAbstract
$res = [
'id' => (string) $media->id,
'type' => $media->activityVerb(),
'url' => $media->url() . '?cb=1&_v=' . time(),
'url' => $media->url(),
'remote_url' => null,
'preview_url' => $media->thumbnailUrl() . '?cb=1&_v=' . time(),
'preview_url' => $media->thumbnailUrl(),
'text_url' => null,
'meta' => null,
'description' => $media->caption,