Skip to content

Commit 20c46a0

Browse files
nejchJohnVillalovos
authored andcommitted
fix(cli): add missing attribute for MR changes
1 parent fceeebc commit 20c46a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/v4/objects/merge_requests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def commits(self, **kwargs: Any) -> RESTObjectList:
242242
manager = ProjectCommitManager(self.manager.gitlab, parent=self.manager._parent)
243243
return RESTObjectList(manager, ProjectCommit, data_list)
244244

245-
@cli.register_custom_action("ProjectMergeRequest")
245+
@cli.register_custom_action("ProjectMergeRequest", optional=("access_raw_diffs",))
246246
@exc.on_http_error(exc.GitlabListError)
247247
def changes(self, **kwargs: Any) -> Union[Dict[str, Any], requests.Response]:
248248
"""List the merge request changes.

0 commit comments

Comments
 (0)