Add AccountInfo to the GitReferenceUpdatedListener.Event
Change-Id: I19d27885a5c75c7e22031e3f0e80fff33b20d7f6
This commit is contained in:
committed by
Yuxuan 'fishy' Wang
parent
f7d3a29ac5
commit
3b68afa0ca
@@ -196,7 +196,7 @@ public class PutConfig implements RestModifyView<ProjectResource, Input> {
|
||||
// Only fire hook if project was actually changed.
|
||||
if (!Objects.equals(baseRev, commitRev)) {
|
||||
gitRefUpdated.fire(projectName, RefNames.REFS_CONFIG,
|
||||
baseRev, commitRev);
|
||||
baseRev, commitRev, user.get().asIdentifiedUser().getAccount());
|
||||
hooks.doRefUpdatedHook(
|
||||
new Branch.NameKey(projectName, RefNames.REFS_CONFIG),
|
||||
baseRev, commitRev, user.get().asIdentifiedUser().getAccount());
|
||||
|
||||
Reference in New Issue
Block a user