gitea/services/webhook
John Olheiser e7f1d45eb5
fix: omit avatar_url in discord payload when empty (#22393)
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>
2023-01-10 14:01:52 -05:00
..
deliver.go
deliver_test.go
dingtalk.go
dingtalk_test.go
discord.go fix: omit avatar_url in discord payload when empty (#22393) 2023-01-10 14:01:52 -05:00
discord_test.go
feishu.go
feishu_test.go
general.go
general_test.go
main_test.go
matrix.go
matrix_test.go
msteams.go
msteams_test.go
notifier.go
packagist.go
packagist_test.go
payloader.go
slack.go
slack_test.go
telegram.go
telegram_test.go
webhook.go
webhook_test.go
wechatwork.go