diff options
Diffstat (limited to 'docs/gl_objects/snippets.rst')
-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 1bedb07..47166b9 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.VISIBILITY_PUBLIC + snippet.visibility_level = gitlab.const.VISIBILITY_PUBLIC snippet.save() To update a snippet code you need to create a ``ProjectSnippet`` object:: |