8000 Fix fork creation documentation · supertest/python-gitlab@baa09fe · GitHub
[go: up one dir, main page]

Skip to content

Commit baa09fe

Browse files
author
Gauvain Pocentek
committed
Fix fork creation documentation
Fixes python-gitlab#136
1 parent f82f962 commit baa09fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/gl_objects/projects.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# end delete
4949

5050
# fork
51-
fork = gl.project_forks.create(project_id=1)
51+
fork = gl.project_forks.create({}, project_id=1)
5252
# or
53-
fork = project.fork()
53+
fork = project.forks.create({})
5454
# end fork
5555

5656
# forkrelation

0 commit comments

Comments
 (0)
0