diff options
-rw-r--r-- | docs/gl_objects/projects.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst index c0f92ae..15d8fe4 100644 --- a/docs/gl_objects/projects.rst +++ b/docs/gl_objects/projects.rst @@ -81,7 +81,7 @@ Create a project in a group:: # You need to get the id of the group, then use the namespace_id attribute # to create the group - group_id = gl.groups.search('my-group')[0].id + group_id = gl.groups.list(search='my-group')[0].id project = gl.projects.create({'name': 'myrepo', 'namespace_id': group_id}) Update a project:: |