Skip to content

Commit c5e6fb3

Browse files
committed
chore: fix typo in mr events
1 parent d4799c4 commit c5e6fb3

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
@@ -117,11 +117,9 @@ class ProjectMergeRequestResourceStateEvent(RESTObject):
117117

118118

119119
class ProjectMergeRequestResourceStateEventManager(RetrieveMixin, RESTManager):
120-
_path = (
121-
"/projects/%(project_id)s/merge_requests/%(issue_iid)s/resource_state_events"
122-
)
120+
_path = "/projects/%(project_id)s/merge_requests/%(mr_iid)s/resource_state_events"
123121
_obj_cls = ProjectMergeRequestResourceStateEvent
124-
_from_parent_attrs = {"project_id": "project_id", "issue_iid": "iid"}
122+
_from_parent_attrs = {"project_id": "project_id", "mr_iid": "iid"}
125123

126124

127125
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