Skip to content

Commit 868f243

Browse files
nejchJohnVillalovos
authored andcommitted
chore(groups): use encoded_id for group path
1 parent 0007006 commit 868f243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def transfer(self, group_id: Optional[int] = None, **kwargs: Any) -> None:
111111
GitlabAuthenticationError: If authentication is not correct
112112
GitlabGroupTransferError: If the group could not be transferred
113113
"""
114-
path = f"/groups/{self.id}/transfer"
114+
path = f"/groups/{self.encoded_id}/transfer"
115115
post_data = {}
116116
if group_id is not None:
117117
post_data["group_id"] = group_id

0 commit comments

Comments
 (0)