Skip to content

Commit 92eb9e1

Browse files
Fix 404 error by upgrading gitlab package
1 parent dce8833 commit 92eb9e1

File tree

3 files changed

+444
-154
lines changed

3 files changed

+444
-154
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import GithubHelper from './githubHelper';
22
import GitlabHelper from './gitlabHelper';
33

44
const GitHubApi = require('@octokit/rest');
5-
const Gitlab = require('gitlab').default;
5+
const { Gitlab } = require('gitlab');
66
const async = require('async');
77
const fs = require('fs');
88

@@ -45,7 +45,7 @@ if (
4545

4646
// Create a GitLab API object
4747
const gitlabApi = new Gitlab({
48-
url: settings.gitlab.url,
48+
host: settings.gitlab.url,
4949
token: settings.gitlab.token,
5050
});
5151

0 commit comments

Comments
 (0)