mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 14:48:44 +08:00
We had a regression where you can no longer update an existing webhook to have a blank secret field. The problem is the blank field will return a value of undefined, which is ignored by the store when sending the request to the back-end. This fixes that by using the nullish coalescing operator to replace undefined with an empty string. |
||
|---|---|---|
| .. | ||
| about.gjs | ||
| api-keys-list.gjs | ||
| api-keys-new.gjs | ||
| api-keys-show.gjs | ||
| color-palette.gjs | ||
| color-palettes.gjs | ||
| components.gjs | ||
| emojis-list.gjs | ||
| emojis-new.gjs | ||
| flags.gjs | ||
| themes.gjs | ||
| user-fields-list.gjs | ||
| webhooks-form.gjs | ||
| webhooks-list.gjs | ||