upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-02-15 10:55:47 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-02-15 10:55:47 +0000
commitc9d29621ccaecbf8751ce4762026713ce9b98eed (patch)
treef2508aee53272e6a97d6fa869612e8baa6255831 /src
parent4ae2bf5fad3bbcf624d637c6d5091f7ec6254f80 (diff)
fix(list): filter for repo event ref tag
previously filtering for d tag rather than a tag this kind of bug should be picked up by tests when our mock relay is applying filters before sending events
Diffstat (limited to 'src')
-rw-r--r--src/sub_commands/list.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sub_commands/list.rs b/src/sub_commands/list.rs
index 47a8fdc..413406a 100644
--- a/src/sub_commands/list.rs
+++ b/src/sub_commands/list.rs
@@ -196,7 +196,8 @@ pub async fn find_pr_events(
196 nostr::Filter::default() 196 nostr::Filter::default()
197 .kind(nostr::Kind::Custom(PATCH_KIND)) 197 .kind(nostr::Kind::Custom(PATCH_KIND))
198 .custom_tag(nostr::Alphabet::T, vec!["root"]) 198 .custom_tag(nostr::Alphabet::T, vec!["root"])
199 .identifiers( 199 .custom_tag(
200 nostr::Alphabet::A,
200 repo_ref 201 repo_ref
201 .maintainers 202 .maintainers
202 .iter() 203 .iter()