diff --git a/module/mr/control.php b/module/mr/control.php index fe9515a75c..53b84ee298 100644 --- a/module/mr/control.php +++ b/module/mr/control.php @@ -30,6 +30,14 @@ class mr extends control $this->display(); } + public function list($repoID) + { + $gitlab = $this->mr->getGitlabProjectByRepo($repoID); + $resp = $this->mr->apiGetMRList($gitlab->gitlabID, $gitlab->projectID); + a($resp); + return $resp; + } + public function create() { } @@ -38,7 +46,6 @@ class mr extends control { } - public function update() { }