newsletter script: search for bounties on @sn account

This commit is contained in:
k00b 2024-09-14 13:44:57 -05:00
parent df65104c60
commit 88eea9ca94
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ async function bountyWinner (q) {
const bounty = await client.query({
query: SEARCH,
variables: { q: `${q} @grayruby`, 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)