diff options
author | badhezi <zlilaharon@gmail.com> | 2025-06-03 21:50:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 18:50:53 +0000 |
commit | 79cc3698928cdddec433199ac4d9339b4bfcde7d (patch) | |
tree | 30f76e1f2d0892537bd78ba3062a95133faa3bad /modules/git/commit_test.go | |
parent | fe57ee3074c1d6421845bce67e9c580a14e2529e (diff) | |
download | gitea-79cc3698928cdddec433199ac4d9339b4bfcde7d.tar.gz gitea-79cc3698928cdddec433199ac4d9339b4bfcde7d.zip |
Fix issue label delete incorrect labels webhook payload (#34575)
Fixes https://github.com/go-gitea/gitea/issues/34560
explanation of the bug in the issue
setting `issue.isLabelsLoaded = false` before calling `deleteIssueLabel`
guarantee we will load the new state of the labels into the issue object
before sending it in the webhook.
Diffstat (limited to 'modules/git/commit_test.go')
0 files changed, 0 insertions, 0 deletions