Commit 53d8a1f1 authored by Greg Messner's avatar Greg Messner
Browse files

Fixed unshareGroup() method name (#587)

parent fc0217a1
...@@ -1683,7 +1683,7 @@ public class GroupApi extends AbstractApi { ...@@ -1683,7 +1683,7 @@ public class GroupApi extends AbstractApi {
* @param sharedWithGroupId the ID of the group to unshare with, required * @param sharedWithGroupId the ID of the group to unshare with, required
* @throws GitLabApiException if any exception occurs * @throws GitLabApiException if any exception occurs
*/ */
public void shareGroup(Object groupIdOrPath, Integer sharedWithGroupId) throws GitLabApiException { public void unshareGroup(Object groupIdOrPath, Integer sharedWithGroupId) throws GitLabApiException {
delete(Response.Status.NO_CONTENT, null, delete(Response.Status.NO_CONTENT, null,
"groups", getGroupIdOrPath(groupIdOrPath), "share", sharedWithGroupId); "groups", getGroupIdOrPath(groupIdOrPath), "share", sharedWithGroupId);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment