This commit is contained in:
Kohsuke Kawaguchi
2017-09-09 13:22:16 -07:00
parent d3ed8eaed5
commit 60bfea2d3b

View File

@@ -78,7 +78,7 @@ public abstract class GHEventPayload {
throw new IllegalStateException("Expected pull_request payload, but got something else. Maybe we've got another type of event?");
if (repository!=null) {
repository.wrap(root);
pull_request.wrap(repository);
pull_request.wrapUp(repository);
} else {
pull_request.wrapUp(root);
}