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_test.go
deliver.go
dingtalk_test.go
dingtalk.go
discord_test.go
discord.go
feishu_test.go
feishu.go
general_test.go
general.go
main_test.go
matrix_test.go
matrix.go
msteams_test.go
msteams.go
notifier.go
packagist_test.go
packagist.go
payloader.go
slack_test.go
slack.go
telegram_test.go
telegram.go
webhook_test.go
webhook.go
wechatwork.go