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 08f5037f..10dfeb1a 100644 --- a/lib/Controller/PublicAlbumController.php +++ b/lib/Controller/PublicAlbumController.php @@ -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])); } }