Polish Bean Bro setup errors and preserve empty plan names
Test and deploy / test-and-deploy (push) Successful in 1m22s
Test and deploy / test-and-deploy (push) Successful in 1m22s
This commit is contained in:
1 parent
8c21750356
commit
f2abdcefe1
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user