diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2018-05-30 19:47:44 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2018-05-30 19:47:44 +0200 |
commit | eae18052c0abbee5b38fca793ec2f804ec2e6c61 (patch) | |
tree | d83fc9b1b203f131309840fdf189101327d31afd | |
parent | 9412a5ddb1217368e0ac19fc06a4ff32711b931f (diff) | |
download | gitlab-eae18052c0abbee5b38fca793ec2f804ec2e6c61.tar.gz |
Fix the IssueManager path to avoid redirections
-rw-r--r-- | gitlab/v4/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py index 81c7078..8dc6171 100644 --- a/gitlab/v4/objects.py +++ b/gitlab/v4/objects.py @@ -1582,7 +1582,7 @@ class ProjectIssue(UserAgentDetailMixin, SubscribableMixin, TodoMixin, class ProjectIssueManager(CRUDMixin, RESTManager): - _path = '/projects/%(project_id)s/issues/' + _path = '/projects/%(project_id)s/issues' _obj_cls = ProjectIssue _from_parent_attrs = {'project_id': 'id'} _list_filters = ('iids', 'state', 'labels', 'milestone', 'scope', |