Skip to content

Commit d4e70f9

Browse files
committed
fix(GenericUrlBookmarkPreviewer): Check URL not API key
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 904cc44 commit d4e70f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/Previewers/GenericUrlBookmarkPreviewer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function getImage($bookmark, $cacheOnly = false): ?IImage {
6767
if (!isset($bookmark)) {
6868
return null;
6969
}
70-
if ($this->apiKey === '' || $cacheOnly) {
70+
if ($this->apiUrl === '' || $cacheOnly) {
7171
return null;
7272
}
7373
$url = $bookmark->getUrl();

0 commit comments

Comments
 (0)