From 57a161b7ed001cd1c15bdda1176b92213946e1d0 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 6 Oct 2023 09:57:51 -0700 Subject: [PATCH] album: fix OG metadata in public link (fix #844) Signed-off-by: Varun Patil --- lib/Controller/PublicAlbumController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/PublicAlbumController.php b/lib/Controller/PublicAlbumController.php index 08f5037f2..10dfeb1a5 100644 --- a/lib/Controller/PublicAlbumController.php +++ b/lib/Controller/PublicAlbumController.php @@ -156,6 +156,6 @@ private function addOgMetadata(array $album, string $token) $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])); } }