Tweak outbox loader

This commit is contained in:
Jon Staab
2026-06-16 15:00:01 -07:00
parent 9094d30b89
commit 163d2dc355
10 changed files with 22 additions and 36 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ export class SearchRelayLists extends RepositoryCollection<ReturnType<typeof rea
}
fetch(pubkey: string, relayHints: string[] = []) {
return this.ctx.use(RelayLists).makeOutboxLoader(SEARCH_RELAYS)(pubkey, relayHints)
return this.ctx.use(RelayLists).loadUsingOutbox(pubkey, {kinds: [SEARCH_RELAYS]}, relayHints)
}
}