summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2019-11-29 12:55:03 +0100
committerGitHub <noreply@github.com>2019-11-29 12:55:03 +0100
commitbbaa754673c4a0bffece482fe33e4875ddadc2dc (patch)
tree5d7a6d9bf1eab1d566406ef637872e8a25b0750f /docs/gl_objects
parent267a9a151ba9f2338f50fbb118513807ebce9704 (diff)
downloadgitlab-bbaa754673c4a0bffece482fe33e4875ddadc2dc.tar.gz
docs(snippets): fix snippet docs
Fixes #954
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/snippets.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gl_objects/snippets.rst b/docs/gl_objects/snippets.rst
index fb22594..1bedb07 100644
--- a/docs/gl_objects/snippets.rst
+++ b/docs/gl_objects/snippets.rst
@@ -44,7 +44,7 @@ Create a snippet::
Update the snippet attributes::
- snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC
+ snippet.visibility_level = gitlab.VISIBILITY_PUBLIC
snippet.save()
To update a snippet code you need to create a ``ProjectSnippet`` object::