From 45f90bd3f9c2be56f1e812f43a2a38bd84b8c362 Mon Sep 17 00:00:00 2001 From: keyan Date: Sat, 30 Mar 2024 15:27:51 -0500 Subject: [PATCH] update newsletter script with new search filters --- scripts/newsletter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/newsletter.js b/scripts/newsletter.js index 20d1bb9c..e5be3b92 100644 --- a/scripts/newsletter.js +++ b/scripts/newsletter.js @@ -91,7 +91,7 @@ async function bountyWinner (q) { const bounty = await client.query({ query: BOUNTY, - variables: { q: `${q} nym:sn`, sort: 'recent', what: 'posts', when: 'week' } + variables: { q: `${q} @sn`, sort: 'recent', what: 'posts', when: 'week' } }) const items = bounty.data.search.items.filter(i => i.bountyPaidTo?.length > 0)