Rework opengraph

This commit is contained in:
Alex Gleason
2024-08-07 20:47:53 -05:00
parent 72970bf480
commit ba241f0431
8 changed files with 133 additions and 255 deletions

View File

@@ -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 [];