Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/github_import/client.rb')
-rw-r--r--lib/gitlab/github_import/client.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/github_import/client.rb b/lib/gitlab/github_import/client.rb
index 0f89a7b6575..d6060141bce 100644
--- a/lib/gitlab/github_import/client.rb
+++ b/lib/gitlab/github_import/client.rb
@@ -76,6 +76,10 @@ module Gitlab
each_object(:pull_request_reviews, repo_name, iid)
end
+ def pull_request_review_requests(repo_name, iid)
+ with_rate_limit { octokit.pull_request_review_requests(repo_name, iid).to_h }
+ end
+
def repos(options = {})
octokit.repos(nil, options).map(&:to_h)
end