mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-25 09:49:55 +02:00
Backport #35412 by @ulnanlu username field is not required by discord and used to override the default username. sending it as blank causes a 400 error. it should be omitted instead when it's not set. Ref: https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params Closes #35411 Co-authored-by: ulnanlu <220980518+ulnanlu@users.noreply.github.com>