From eae18052c0abbee5b38fca793ec2f804ec2e6c61 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Wed, 30 May 2018 19:47:44 +0200 Subject: Fix the IssueManager path to avoid redirections --- gitlab/v4/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gitlab') 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', -- cgit v1.2.1