1
0
Fork 0
forked from mirror/pixelfed

Merge pull request #963 from pixelfed/frontend-ui-refactor

Fixes #764
This commit is contained in:
daniel 2019-03-05 17:35:14 -07:00 committed by GitHub
commit d3cf7f92d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class Note extends Fractal\TransformerAbstract
'type' => $media->activityVerb(), 'type' => $media->activityVerb(),
'mediaType' => $media->mime, 'mediaType' => $media->mime,
'url' => $media->url(), 'url' => $media->url(),
'name' => null, 'name' => $media->caption,
]; ];
})->toArray(), })->toArray(),
'tag' => $tags, 'tag' => $tags,