fix boost in newsletter template gen

This commit is contained in:
keyan 2023-09-02 12:24:00 -05:00
parent 40a01789ec
commit 89e64351dd
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ Have a great weekend!
##### Top Posts
${top.data.items.items.slice(0, 10).map((item, i) =>
`${i + 1}. [${item.title}](https://stacker.news/items/${item.id})${item.url ? `\n - ${item.url}` : ''}
- ${abbrNum(item.sats)} sats \\ ${item.sats} boost \\ ${item.ncomments} comments\n`).join('')}
- ${abbrNum(item.sats)} sats${item.boost ? ` \\ ${abbrNum(item.boost)} boost` : ''} \\ ${item.ncomments} comments\n`).join('')}
##### Don't miss
${top.data.items.items.slice(0, 15).map((item, i) =>