Skip to content

Commit

Permalink
trim source tag to 80 characters in line with buttondown API requirem…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
benderham committed Sep 18, 2024
1 parent fb892e5 commit 0cb4292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function subscribeToButtondown (pathname: string, formData: FormDat
email: formData.get('email'),
tags: [
...formData.getAll('tags'),
`source:keystonejs.com${pathname}`,
`source:keystonejs.com${pathname}`.substring(0, 80),
],
}

Expand Down

0 comments on commit 0cb4292

Please sign in to comment.