Browse Source

Use correct Sender on webhook change title (#17791)

As title, thanks to @mscherer for pointing out the incorrect code.
tags/v1.16.0-rc1
Gusted 2 years ago
parent
commit
21f4401f3e
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/notification/webhook/webhook.go

+ 1
- 1
modules/notification/webhook/webhook.go 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),
})
}


Loading…
Cancel
Save