update newsletter script with new search filters

This commit is contained in:
keyan 2024-03-30 15:27:51 -05:00
parent 044cd19401
commit 45f90bd3f9
1 changed files with 1 additions and 1 deletions

View File

@ -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)