summaryrefslogtreecommitdiff
path: root/lib/tasks/import.rake
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-07-14 13:43:25 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-08-07 13:06:12 -0300
commit51186e72c5b06e144960bd0caf9684dbc387920c (patch)
tree67c7cbba93f5b3a9c8c763ff530ec91402134d12 /lib/tasks/import.rake
parent81995317f99550a0cd5c76e9b15fd91364665d1f (diff)
downloadgitlab-ce-51186e72c5b06e144960bd0caf9684dbc387920c.tar.gz
Use a custom root endpoint if defined on GH ominiauth provider settings
Diffstat (limited to 'lib/tasks/import.rake')
-rw-r--r--lib/tasks/import.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/import.rake b/lib/tasks/import.rake
index 75ccd7af793..90792dfe51d 100644
--- a/lib/tasks/import.rake
+++ b/lib/tasks/import.rake
@@ -7,7 +7,7 @@ class GithubImport
end
def initialize(token, gitlab_username, project_path, extras)
- @options = { url: 'https://api.github.com', token: token, verbose: true }
+ @options = { token: token, verbose: true }
@project_path = project_path
@current_user = User.find_by_username(gitlab_username)
@github_repo = extras.empty? ? nil : extras.first