mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
fix(projects): keep hooks within file-size gate
Preserve merged project fetching behavior while keeping the module below the repository ceiling. Signed-off-by: Thomas Petersen <thomasp@squareup.com>
This commit is contained in:
@@ -175,12 +175,9 @@ export async function fetchProjects(
|
||||
// is the pure, Tauri-free core of this operation. That helper's javadoc
|
||||
// explains the fail-closed tombstone contract and the NIP-OA owner-deletion
|
||||
// relay-side-suppression decision.
|
||||
let viewerPubkey: string | undefined;
|
||||
try {
|
||||
viewerPubkey = (await getIdentity()).pubkey;
|
||||
} catch {
|
||||
viewerPubkey = undefined;
|
||||
}
|
||||
const viewerPubkey = await getIdentity()
|
||||
.then((identity) => identity.pubkey)
|
||||
.catch(() => undefined);
|
||||
const fetcher: FetchProjectEventsExhaustively =
|
||||
fetchExhaustively ??
|
||||
((kinds, extraFilter) =>
|
||||
|
||||
Reference in New Issue
Block a user