mirror of
https://github.com/go-gitea/gitea
synced 2025-02-07 15:24:45 +00:00
Fixes #22391 This field is optional for Discord, however when it exists in the payload it is now validated. Omitting it entirely just makes Discord use the default for that webhook, which is set on the Discord side. Signed-off-by: jolheiser <john.olheiser@gmail.com>