summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorJeff Groom <jgroom33@outlook.com>2020-01-08 12:25:00 -0700
committerGitHub <noreply@github.com>2020-01-08 12:25:00 -0700
commit3a4ff2fbf51d5f7851db02de6d8f0e84508b11a0 (patch)
tree994ef12c29d44fedb7e7d1486659959ce73e8156 /docs/gl_objects
parentfc2ed136c10920c5c0ef11247d0287b12e2a25ed (diff)
downloadgitlab-3a4ff2fbf51d5f7851db02de6d8f0e84508b11a0.tar.gz
docs: fix snippet get in project
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/projects.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gl_objects/projects.rst b/docs/gl_objects/projects.rst
index 7ba80de..8c3526c 100644
--- a/docs/gl_objects/projects.rst
+++ b/docs/gl_objects/projects.rst
@@ -451,7 +451,7 @@ List the project snippets::
Get a snippet::
- snippets = project.snippets.list(snippet_id)
+ snippet = project.snippets.get(snippet_id)
Get the content of a snippet::