Skip to content

Commit 40eb59e

Browse files
committed
chore: fix typo in mr events
1 parent 31f8a52 commit 40eb59e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

gitlab/v4/objects/events.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,9 @@ class ProjectMergeRequestResourceStateEvent(RESTObject):
129129

130130

131131
class ProjectMergeRequestResourceStateEventManager(RetrieveMixin, RESTManager):
132-
_path = (
133-
"/projects/%(project_id)s/merge_requests/%(issue_iid)s/resource_state_events"
134-
)
132+
_path = "/projects/%(project_id)s/merge_requests/%(mr_iid)s/resource_state_events"
135133
_obj_cls = ProjectMergeRequestResourceStateEvent
136-
_from_parent_attrs = {"project_id": "project_id", "issue_iid": "iid"}
134+
_from_parent_attrs = {"project_id": "project_id", "mr_iid": "iid"}
137135

138136

139137
class UserEvent(Event):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy