Skip to content

Commit

Permalink
Fixed name for branch to name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed May 8, 2024
1 parent 0188e37 commit b17955c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitlab_api/gitlab_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b17955c

Please sign in to comment.