Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

GiteaBot
Copy link
Collaborator

@GiteaBot GiteaBot commented Sep 5, 2025

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

…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 go-gitea#35411
@GiteaBot GiteaBot added modifies/go Pull requests that update Go code type/bug labels Sep 5, 2025
@GiteaBot GiteaBot added this to the 1.24.6 milestone Sep 5, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Sep 5, 2025
@GiteaBot GiteaBot requested review from lunny and silverwind September 5, 2025 18:19
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Sep 5, 2025
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Sep 5, 2025
@silverwind silverwind enabled auto-merge (squash) September 5, 2025 18:31
@silverwind silverwind merged commit 3c7e7a1 into go-gitea:release/v1.24 Sep 5, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/go Pull requests that update Go code type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants