album: fix OG metadata in public link (fix #844)

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/807/merge
Varun Patil 2023-10-06 09:57:51 -07:00
parent b9dabc1e14
commit 57a161b7ed
1 changed files with 1 additions and 1 deletions

View File

@ -156,6 +156,6 @@ class PublicAlbumController extends Controller
$params = ['token' => $token];
$url = $this->urlGenerator->linkToRouteAbsolute('memories.PublicAlbum.showShare', $params);
\OCA\Memories\Util::addOGMetadata($node, $album['name'], $url, array_merge($params, ['album' => true]));
\OCA\Memories\Util::addOGMetadata($node, $album['name'], $url, array_merge($params, ['albums' => true]));
}
}