Show include tags on single share

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2022-09-19 11:36:52 +02:00
parent 4a4a3874da
commit ebd28ef9e0
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -382,7 +382,7 @@ class ShareAPIController extends OCSController {
$share = $this->formatShare($share);
if ($includeTags) {
$share = Helper::populateTags($formatted, 'file_source', \OC::$server->getTagManager());
$share = Helper::populateTags(array($share), 'file_source', \OC::$server->getTagManager());
}
return new DataResponse([$share]);