kopia lustrzana https://github.com/pixelfed/pixelfed
Merge pull request #964 from pixelfed/frontend-ui-refactor
Update AP Transformer, adds image description to fanoutpull/1005/head
commit
5b8ffd6d11
|
@ -54,7 +54,7 @@ class CreateNote 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,
|
||||||
|
|
Ładowanie…
Reference in New Issue