mirror of
https://github.com/outline/outline.git
synced 2026-11-25 07:04:37 +03:00
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:
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 = {
|
||||
|
||||
Reference in new issue
Block a user