Skip to content

Commit 0fad916

Browse files
qc12sugsmet
authored andcommitted
Fix path of GHTeam#remove(GHUser)
1 parent 0365965 commit 0fad916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public void add(GHUser user, Role role) throws IOException {
288288
* the io exception
289289
*/
290290
public void remove(GHUser u) throws IOException {
291-
root().createRequest().method("DELETE").withUrlPath(api("/members/" + u.getLogin())).send();
291+
root().createRequest().method("DELETE").withUrlPath(api("/memberships/" + u.getLogin())).send();
292292
}
293293

294294
/**

0 commit comments

Comments
 (0)