From b17955c76d8a09740612e6bc8264fb776c91464b Mon Sep 17 00:00:00 2001 From: KnucklesSG1 Date: Wed, 8 May 2024 14:59:07 -0500 Subject: [PATCH] Fixed name for branch to name. --- gitlab_api/gitlab_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitlab_api/gitlab_models.py b/gitlab_api/gitlab_models.py index 5efab65..65f347d 100644 --- a/gitlab_api/gitlab_models.py +++ b/gitlab_api/gitlab_models.py @@ -1932,7 +1932,7 @@ def build_api_parameters(cls, values): filters = [] if 'branch' in values: - filters.append(f'branch={values["branch"]}') + filters.append(f'name={values["branch"]}') if 'push_access_level' in values: filters.append(f'push_access_level={values["push_access_level"]}') if 'merge_access_level' in values: