summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <nejc.habjan@siemens.com>2022-01-14 01:12:47 +0100
committerJohn Villalovos <john@sodarock.com>2022-01-13 17:17:20 -0800
commit868f2432cae80578d99db91b941332302dd31c89 (patch)
treee9aeef6e8b5423d6007f64313409194ad049764d
parent0007006c184c64128caa96b82dafa3db0ea1101f (diff)
downloadgitlab-868f2432cae80578d99db91b941332302dd31c89.tar.gz
chore(groups): use encoded_id for group path
-rw-r--r--gitlab/v4/objects/groups.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/groups.py b/gitlab/v4/objects/groups.py
index adfca6e..f2b90d1 100644
--- a/gitlab/v4/objects/groups.py
+++ b/gitlab/v4/objects/groups.py
@@ -111,7 +111,7 @@ class Group(SaveMixin, ObjectDeleteMixin, RESTObject):
GitlabAuthenticationError: If authentication is not correct
GitlabGroupTransferError: If the group could not be transferred
"""
- path = f"/groups/{self.id}/transfer"
+ path = f"/groups/{self.encoded_id}/transfer"
post_data = {}
if group_id is not None:
post_data["group_id"] = group_id