Add AccountInfo to the GitReferenceUpdatedListener.Event
Change-Id: I19d27885a5c75c7e22031e3f0e80fff33b20d7f6
This commit is contained in:
committed by
Yuxuan 'fishy' Wang
parent
f7d3a29ac5
commit
3b68afa0ca
@@ -162,7 +162,8 @@ class DeleteBranches implements RestModifyView<ProjectResource, Input> {
|
||||
}
|
||||
|
||||
private void postDeletion(ProjectResource project, ReceiveCommand cmd) {
|
||||
referenceUpdated.fire(project.getNameKey(), cmd);
|
||||
referenceUpdated.fire(project.getNameKey(), cmd,
|
||||
identifiedUser.get().getAccount());
|
||||
Branch.NameKey branchKey =
|
||||
new Branch.NameKey(project.getNameKey(), cmd.getRefName());
|
||||
hooks.doRefUpdatedHook(branchKey, cmd.getOldId(), cmd.getNewId(),
|
||||
|
||||
Reference in New Issue
Block a user