Polish Bean Bro setup errors and preserve empty plan names
Test and deploy / test-and-deploy (push) Successful in 1m22s

This commit is contained in:
snowspeeder committed 2026-09-06 18:48:29 -04:00
1 parent 8c21750356
commit f2abdcefe1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -277,7 +277,7 @@ export async function savePlanRevision(db, userId, id, body) {
name =
body.name === undefined
? existing.name
: String(body.name).trim().slice(0, 120);
: String(body.name ?? "").trim().slice(0, 120);
const planning = (p) => {
const { assistant, roastDay, ...rest } = p;
return rest;