mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Fixing issue: Correct npm install command
This commit is contained in:
parent
9ea8d21c5e
commit
4433d2aa07
@ -33,13 +33,13 @@ URL to your GitLab instance should not include `/api/v4` path.
|
||||
|
||||
```javascript
|
||||
// Connection with basic token
|
||||
const GitlabAPI = require('gitlab-api')({
|
||||
const GitlabAPI = require('node-gitlab-api')({
|
||||
url: 'http://example.com', // Defaults to http://gitlab.com
|
||||
token: 'abcdefghij123456'
|
||||
})
|
||||
|
||||
// Connection with oauth token
|
||||
const GitlabAPI = require('gitlab-api')({
|
||||
const GitlabAPI = require('node-gitlab-api')({
|
||||
url: 'http://example.com', // Defaults to http://gitlab.com
|
||||
oauthToken: 'abcdefghij123456'
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user