Merge pull request #261 from EvHaus/patch-2

docs: Fixed typo introduced in #259
This commit is contained in:
jdalrymple 2019-01-31 15:37:08 -05:00 committed by GitHub
commit a52c03d526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -278,13 +278,13 @@ If your Gitlab server is running via HTTPS, the proper way to pass in your certi
},
```
Although we don't encourage it, if you absolutely must allow insecure certificates, you can instantiate the API with `rejectAuthorized` set to `true` like this:
Although we don't encourage it, if you absolutely must allow insecure certificates, you can instantiate the API with `rejectAuthorized` set to `false` like this:
```
const api = new Gitlab({
url: '...',
token: '...',
rejectUnauthorized: true
rejectUnauthorized: false
})
```