album: fix OG metadata in public link (fix #844)
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/807/merge
parent
b9dabc1e14
commit
57a161b7ed
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue