Shudhanshu Singh
db23b5a192
fix(api): keep webhook settings that are omitted in an edit request ( #40282 )
...
`PATCH .../hooks/{id}` previously reset webhook events to push-only and
cleared the branch filter and authorization header whenever they were
not included in the payload. Disabling a hook with `{"active": false}`
silently destroyed its configuration.
`BranchFilter` and `AuthorizationHeader` are now pointers so omitted
fields remain untouched, while empty strings can still be passed to
clear them explicitly.
---------
Co-authored-by: silverwind <me@silverwind.io >
2026-11-10 19:26:22 +00:00
..
2026-03-30 08:28:48 +08:00
2026-10-02 15:37:41 +02:00
2026-08-24 18:26:10 +00:00
2025-09-06 16:52:41 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2026-10-02 15:37:41 +02:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-10-24 13:48:19 +00:00
2026-11-10 19:26:22 +00:00
2026-10-24 01:15:31 +00:00
2026-10-22 20:54:33 +00:00
2026-10-21 18:52:33 +08:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-10-24 13:48:19 +00:00
2025-09-06 16:52:41 +00:00
2026-10-24 01:15:31 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-08-14 02:15:33 +00:00
2025-09-06 16:52:41 +00:00
2026-07-08 23:52:06 +02:00
2025-09-06 16:52:41 +00:00
2026-10-02 15:37:41 +02:00
2026-07-16 17:38:33 +00:00
2026-10-29 18:10:36 +00:00
2026-10-23 01:53:45 +00:00
2026-08-19 12:50:06 +00:00
2026-11-07 14:19:50 +00:00
2026-10-21 18:52:33 +08:00
2026-11-06 08:23:13 +00:00
2026-08-02 12:22:07 +08:00
2026-11-07 09:34:21 +00:00
2026-04-29 20:47:52 +08:00
2025-09-06 16:52:41 +00:00
2024-04-16 11:45:04 +08:00
2026-08-03 06:41:27 +00:00
2026-08-26 19:32:44 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-07-23 14:49:52 +08:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-11-03 16:20:39 +00:00
2026-11-10 00:53:49 +00:00
2025-03-17 19:24:54 +00:00
2025-09-06 16:52:41 +00:00
2026-05-26 15:49:31 -07:00
2023-05-11 08:25:46 +00:00
2026-06-14 20:05:18 +02:00
2026-11-01 06:27:12 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2025-09-06 16:52:41 +00:00
2026-09-18 17:11:56 +02:00
2026-10-02 15:37:41 +02:00
2025-03-17 19:24:54 +00:00
2026-07-16 17:38:33 +00:00