summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/gl_objects/projects.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/gl_objects/projects.py b/docs/gl_objects/projects.py
index 7c845d8..7623c15 100644
--- a/docs/gl_objects/projects.py
+++ b/docs/gl_objects/projects.py
@@ -226,11 +226,11 @@ f = project.files.create({'file_path': 'testfile',
# files update
f.content = 'new content'
-f.save(branch='master', commit_message='Update testfile')
+f.save(branch_name='master', commit_message='Update testfile')
# or for binary data
f.content = base64.b64encode(open('image.png').read())
-f.save(branch='master', commit_message='Update testfile', encoding='base64')
+f.save(branch_name='master', commit_message='Update testfile', encoding='base64')
# end files update
# files delete