0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 05:51:33 +01:00

Use correct Sender on webhook change title (#17791)

As title, thanks to @mscherer for pointing out the incorrect code.
This commit is contained in:
Gusted 2021-11-24 02:47:03 +00:00 committed by GitHub
parent 3d996c85a5
commit 21f4401f3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,7 @@ func (m *webhookNotifier) NotifyIssueChangeTitle(doer *models.User, issue *model
},
Issue: convert.ToAPIIssue(issue),
Repository: convert.ToRepo(issue.Repo, mode),
Sender: convert.ToUser(issue.Poster, nil),
Sender: convert.ToUser(doer, nil),
})
}