chore: styles + build frequency/wrapping
This commit is contained in:
parent
6e2694157c
commit
212fdb06d8
5 changed files with 6 additions and 6 deletions
|
@ -30,7 +30,7 @@ async function handleScheduledEvent(env) {
|
|||
|
||||
if (existingPost) continue
|
||||
|
||||
const plainTextDescription = convert(item.description, { wordwrap: 130 })
|
||||
const plainTextDescription = convert(item.description)
|
||||
const content = `${item.title}\n\n${plainTextDescription}\n\n${item.link}`
|
||||
|
||||
await postToMastodon(mastodonApiUrl, accessToken, content)
|
||||
|
|
Reference in a new issue