Skip to content

Commit fc4f7fd

Browse files
authored
Merge pull request python-gitlab#1399 from JohnVillalovos/jlvillal/fix_custom_action
fix: argument type was not a tuple as expected
2 parents 916a7fe + 062f8f6 commit fc4f7fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/merge_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def pipelines(self, **kwargs):
234234
path = "%s/%s/pipelines" % (self.manager.path, self.get_id())
235235
return self.manager.gitlab.http_get(path, **kwargs)
236236

237-
@cli.register_custom_action("ProjectMergeRequest", tuple(), ("sha"))
237+
@cli.register_custom_action("ProjectMergeRequest", tuple(), ("sha",))
238238
@exc.on_http_error(exc.GitlabMRApprovalError)
239239
def approve(self, sha=None, **kwargs):
240240
"""Approve the merge request.

0 commit comments

Comments
 (0)