Move collection to store module

This commit is contained in:
Jon Staab
2025-04-25 10:37:57 -07:00
parent d14ae2ce77
commit 37c0491d71
22 changed files with 325 additions and 987 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ export const routerContext: RouterOptions = {
return uniq(
Repository.get()
.query([{kinds: [RELAYS], authors: [pubkey]}])
.flatMap(event => getRelaysFromList(readList(asDecryptedEvent(event)), mode))
.flatMap(event => getRelaysFromList(readList(asDecryptedEvent(event)), mode)),
)
}
},
}
export class Router {