Skip to content

Commit

Permalink
album: fix OG metadata in public link (fix #844)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Oct 6, 2023
1 parent b9dabc1 commit 57a161b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/PublicAlbumController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
}
}

0 comments on commit 57a161b

Please sign in to comment.