Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit c4eefa6

Browse files
committed
Merge branch 'master' of github.com:kohsuke/github-api
2 parents 202cff5 + 4d7681b commit c4eefa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ public GHSubscription subscribe(boolean subscribed, boolean ignored) throws IOEx
11621162
*/
11631163
public GHSubscription getSubscription() throws IOException {
11641164
try {
1165-
return new Requester(root).to(getApiTailUrl("subscription"), GHSubscription.class).wrapUp(this);
1165+
return root.retrieve().to(getApiTailUrl("subscription"), GHSubscription.class).wrapUp(this);
11661166
} catch (FileNotFoundException e) {
11671167
return null;
11681168
}

0 commit comments

Comments
 (0)