From bbaa754673c4a0bffece482fe33e4875ddadc2dc Mon Sep 17 00:00:00 2001 From: Max Wittig Date: Fri, 29 Nov 2019 12:55:03 +0100 Subject: docs(snippets): fix snippet docs Fixes #954 --- docs/gl_objects/snippets.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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:: -- cgit v1.2.1