1
1
mirror of https://github.com/go-gitea/gitea synced 2025-09-21 08:08:14 +00:00
Files
gitea/services/webhook
Giteabot 3c7e7a19dd fix(webhook/discord): fixed username cannot be empty error (#35412) (#35417)
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>
2025-09-05 18:44:39 +00:00
..
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00
2025-04-01 10:14:01 +00:00
2025-03-11 10:40:38 -07:00
2025-03-11 10:40:38 -07:00
2025-03-11 10:40:38 -07:00
2025-03-11 10:40:38 -07:00
2024-12-30 01:25:49 +08:00