0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-09-10 00:14:44 +02:00
ulnanlu 09d1f359d5
fix(webhook/discord): fixed username cannot be empty error (#35412)
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
2025-09-05 11:19:31 -07:00
..
2025-04-01 10:14:01 +00:00
2025-06-22 18:53:33 +08:00