mirror of
https://github.com/nextcloud/bookmarks.git
synced 2025-07-22 01:22:31 +00:00
fix(GenericUrlBookmarkPreviewer): Check URL not API key
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
@ -67,7 +67,7 @@ class GenericUrlBookmarkPreviewer implements IBookmarkPreviewer {
|
||||
if (!isset($bookmark)) {
|
||||
return null;
|
||||
}
|
||||
if ($this->apiKey === '' || $cacheOnly) {
|
||||
if ($this->apiUrl === '' || $cacheOnly) {
|
||||
return null;
|
||||
}
|
||||
$url = $bookmark->getUrl();
|
||||
|
Reference in New Issue
Block a user