update newsletter script with new search filters
This commit is contained in:
parent
044cd19401
commit
45f90bd3f9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue