| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -44,7 +44,7 @@ Create a snippet:: | |||
| 44 | 44 | ||
| 45 | 45 | Update the snippet attributes:: | |
| 46 | 46 | ||
| 47 | - snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC | ||
| 47 | + snippet.visibility_level = gitlab.VISIBILITY_PUBLIC | ||
| 48 | 48 | snippet.save() | |
| 49 | 49 | ||
| 50 | 50 | To update a snippet code you need to create a ``ProjectSnippet`` object:: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments