summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/events.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/events.py')
-rw-r--r--gitlab/v4/objects/events.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/gitlab/v4/objects/events.py b/gitlab/v4/objects/events.py
index af2f0aa..bb76b81 100644
--- a/gitlab/v4/objects/events.py
+++ b/gitlab/v4/objects/events.py
@@ -117,11 +117,9 @@ class ProjectMergeRequestResourceStateEvent(RESTObject):
class ProjectMergeRequestResourceStateEventManager(RetrieveMixin, RESTManager):
- _path = (
- "/projects/%(project_id)s/merge_requests/%(issue_iid)s/resource_state_events"
- )
+ _path = "/projects/%(project_id)s/merge_requests/%(mr_iid)s/resource_state_events"
_obj_cls = ProjectMergeRequestResourceStateEvent
- _from_parent_attrs = {"project_id": "project_id", "issue_iid": "iid"}
+ _from_parent_attrs = {"project_id": "project_id", "mr_iid": "iid"}
class UserEvent(Event):