summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2018-05-30 19:47:44 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2018-05-30 19:47:44 +0200
commiteae18052c0abbee5b38fca793ec2f804ec2e6c61 (patch)
treed83fc9b1b203f131309840fdf189101327d31afd /gitlab/v4/objects.py
parent9412a5ddb1217368e0ac19fc06a4ff32711b931f (diff)
downloadgitlab-eae18052c0abbee5b38fca793ec2f804ec2e6c61.tar.gz
Fix the IssueManager path to avoid redirections
Diffstat (limited to 'gitlab/v4/objects.py')
-rw-r--r--gitlab/v4/objects.py2
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',