mirror of https://github.com/go-gitea/gitea
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>pull/22396/head
parent
3b804ff76c
commit
e7f1d45eb5
Loading…
Reference in new issue