diff options
author | Max Wittig <max.wittig95@gmail.com> | 2019-07-21 21:29:10 +0200 |
---|---|---|
committer | Max Wittig <max.wittig95@gmail.com> | 2019-07-21 21:29:10 +0200 |
commit | 7feb97e9d89b4ef1401d141be3d00b9d0ff6b75c (patch) | |
tree | 1aae23124b33b5284780407733db40cfb965222e | |
parent | de19296c57e40fede902270543800b499d90f82c (diff) | |
download | gitlab-7feb97e9d89b4ef1401d141be3d00b9d0ff6b75c.tar.gz |
docs(snippets): fix project-snippets layout
Fixes #828
-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 5e09768..fb22594 100644 --- a/docs/gl_objects/snippets.rst +++ b/docs/gl_objects/snippets.rst @@ -47,7 +47,7 @@ Update the snippet attributes:: snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC snippet.save() -To update a snippet code you need to create a ``ProjectSnippet`` object: +To update a snippet code you need to create a ``ProjectSnippet`` object:: snippet = gl.snippets.get(snippet_id) project = gl.projects.get(snippet.projec_id, lazy=True) |