FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore(groups): use encoded_id for group path · python-gitlab/python-gitlab@868f243 · GitHub

Repository navigation

Commit 868f243

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL