diff options
author | Max Wittig <max.wittig@siemens.com> | 2021-04-19 09:02:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 09:02:28 +0200 |
commit | fc4f7fd620ffc83acbc8ce531d0acb7ce4273763 (patch) | |
tree | 01297f1819ee80a3c840ece9fcaf34143a1b0e5e | |
parent | 916a7fe4661b3822a0a93fc75fb72d80f550582d (diff) | |
parent | 062f8f6a917abc037714129691a845c16b070ff6 (diff) | |
download | gitlab-fc4f7fd620ffc83acbc8ce531d0acb7ce4273763.tar.gz |
Merge pull request #1399 from JohnVillalovos/jlvillal/fix_custom_action
fix: argument type was not a tuple as expected
-rw-r--r-- | gitlab/v4/objects/merge_requests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/merge_requests.py b/gitlab/v4/objects/merge_requests.py index 938cb5a..83e8f44 100644 --- a/gitlab/v4/objects/merge_requests.py +++ b/gitlab/v4/objects/merge_requests.py @@ -234,7 +234,7 @@ class ProjectMergeRequest( path = "%s/%s/pipelines" % (self.manager.path, self.get_id()) return self.manager.gitlab.http_get(path, **kwargs) - @cli.register_custom_action("ProjectMergeRequest", tuple(), ("sha")) + @cli.register_custom_action("ProjectMergeRequest", tuple(), ("sha",)) @exc.on_http_error(exc.GitlabMRApprovalError) def approve(self, sha=None, **kwargs): """Approve the merge request. |