From 0cb429278e0ad853554e94800c38d7898d3dd162 Mon Sep 17 00:00:00 2001 From: Ben Derham <1805685+benderham@users.noreply.github.com> Date: Wed, 18 Sep 2024 09:01:02 +0800 Subject: [PATCH] trim source tag to 80 characters in line with buttondown API requirements --- docs/app/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/app/actions.ts b/docs/app/actions.ts index 9f015bd44e7..b55d26a9e10 100644 --- a/docs/app/actions.ts +++ b/docs/app/actions.ts @@ -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), ], }