mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-20 22:04:23 +01:00
Rework opengraph
This commit is contained in:
@@ -155,7 +155,7 @@ async function getLookupFilters({ q, type, resolve }: SearchQuery, signal: Abort
|
||||
}
|
||||
return filters;
|
||||
} catch {
|
||||
// do nothing
|
||||
// fall through
|
||||
}
|
||||
|
||||
try {
|
||||
@@ -164,7 +164,7 @@ async function getLookupFilters({ q, type, resolve }: SearchQuery, signal: Abort
|
||||
return [{ kinds: [0], authors: [pubkey] }];
|
||||
}
|
||||
} catch {
|
||||
// do nothing
|
||||
// fall through
|
||||
}
|
||||
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user