1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 10:16:47 +00:00

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

Update AP Transformer, adds image description to fanout
This commit is contained in:
daniel 2019-03-05 17:42:13 -07:00 committed by GitHub
commit 5b8ffd6d11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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