diff options
author | Nikolaos Pothitos <pothitos@di.uoa.gr> | 2019-06-19 10:06:48 +0300 |
---|---|---|
committer | Max Wittig <max.wittig@siemens.com> | 2019-06-19 11:16:20 +0200 |
commit | 40a1bf36c2df89daa1634e81c0635c1a63831090 (patch) | |
tree | 488df00e40e80400471ec10c660efde0ebcc9fa4 /docs/api-usage.rst | |
parent | 4e1dd27d6400acd152be19692f3193f948422769 (diff) | |
download | gitlab-40a1bf36c2df89daa1634e81c0635c1a63831090.tar.gz |
docs(api-usage): fix project group example
Fixes #798
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r-- | docs/api-usage.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst index 36981b3..2f75584 100644 --- a/docs/api-usage.rst +++ b/docs/api-usage.rst @@ -77,8 +77,8 @@ Examples: # get the group with id == 2 group = gl.groups.get(2) - for group in groups: - print() + for project in group.projects.list(): + print(project) # create a new user user_data = {'email': 'jen@foo.com', 'username': 'jen', 'name': 'Jen'} |