There was an error while loading. Please reload this page.
1 parent dce8833 commit 92eb9e1Copy full SHA for 92eb9e1
index.js
@@ -2,7 +2,7 @@ import GithubHelper from './githubHelper';
2
import GitlabHelper from './gitlabHelper';
3
4
const GitHubApi = require('@octokit/rest');
5
-const Gitlab = require('gitlab').default;
+const { Gitlab } = require('gitlab');
6
const async = require('async');
7
const fs = require('fs');
8
@@ -45,7 +45,7 @@ if (
45
46
// Create a GitLab API object
47
const gitlabApi = new Gitlab({
48
- url: settings.gitlab.url,
+ host: settings.gitlab.url,
49
token: settings.gitlab.token,
50
});
51
0 commit comments