diff --git a/lib/Controller/ImageController.php b/lib/Controller/ImageController.php index b9733abd..87a6453e 100644 --- a/lib/Controller/ImageController.php +++ b/lib/Controller/ImageController.php @@ -304,6 +304,7 @@ class ImageController extends ApiBase /** @var \OCP\SystemTag\ISystemTag[] */ $tags = $tagManager->getTagsByIds($tagIds); + return array_map(function ($tag) { return $tag->getName(); }, array_filter($tags, function ($tag) {