| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,7 +81,7 @@ Create a project in a group:: | |||
| 81 | 81 | ||
| 82 | 82 | # You need to get the id of the group, then use the namespace_id attribute | |
| 83 | 83 | # to create the group | |
| 84 | - group_id = gl.groups.search('my-group')[0].id | ||
| 84 | + group_id = gl.groups.list(search='my-group')[0].id | ||
| 85 | 85 | project = gl.projects.create({'name': 'myrepo', 'namespace_id': group_id}) | |
| 86 | 86 | ||
| 87 | 87 | Update a project:: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments