Skip to content

Commit 60bfea2

Browse files
committed
Bug fix
1 parent d3ed8ea commit 60bfea2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/kohsuke/github/GHEventPayload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void wrapUp(GitHub root) {
7878
throw new IllegalStateException("Expected pull_request payload, but got something else. Maybe we've got another type of event?");
7979
if (repository!=null) {
8080
repository.wrap(root);
81-
pull_request.wrap(repository);
81+
pull_request.wrapUp(repository);
8282
} else {
8383
pull_request.wrapUp(root);
8484
}

0 commit comments

Comments
 (0)