From 24462a70279de14d34015f52e9106b7096e425ae Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sat, 21 Feb 2026 14:21:06 -0700 Subject: [PATCH] Change this --- src/routes/berrydash/splash-text/get.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/berrydash/splash-text/get.ts b/src/routes/berrydash/splash-text/get.ts index 5015bdd..e15ca51 100644 --- a/src/routes/berrydash/splash-text/get.ts +++ b/src/routes/berrydash/splash-text/get.ts @@ -49,7 +49,7 @@ export const handler = async (context: Context) => { result.map(v => { const data = v v.content = atob(v.content) - if (v.attributes) v.attributes = JSON.parse(v.attributes) + v.attributes = v.attributes ? JSON.parse(v.attributes) : [] return data }) )