fix: Preserve existing values when optional update fields are omitted (#14344)

* fix: Preserve existing values when optional update fields are omitted

* chore: Rename setDefined to fill

* chore: Use fill in users.update and teamUpdater
This commit is contained in:
Tom Moor authored and GitHub committed 2026-10-26 17:29:17 -04:00
1 parent ce439c893c
commit 9fe0c7ba2b
18 files changed
+275 -136

No files matched your search

@@ -161,7 +161,7 @@ router.post(
url,
events: compact(events),
enabled: true,
secret: isEmpty(secret) ? undefined : secret,
secret: secret === "" ? null : secret,
});
ctx.body = {