diff options
author | Max Wittig <max.wittig@siemens.com> | 2019-11-29 12:55:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-29 12:55:03 +0100 |
commit | bbaa754673c4a0bffece482fe33e4875ddadc2dc (patch) | |
tree | 5d7a6d9bf1eab1d566406ef637872e8a25b0750f /docs/gl_objects | |
parent | 267a9a151ba9f2338f50fbb118513807ebce9704 (diff) | |
download | gitlab-bbaa754673c4a0bffece482fe33e4875ddadc2dc.tar.gz |
docs(snippets): fix snippet docs
Fixes #954
Diffstat (limited to 'docs/gl_objects')
-rw-r--r-- | docs/gl_objects/snippets.rst | 2 |
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:: |