Skip to content

Commit 625a951

Browse files
committed
tweak README, add curly braces
1 parent c198d22 commit 625a951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ npm install pipedrive
1010

1111
## Roadmap & known issues
1212
- [Missing async/await promise support](https://github.com/pipedrive/client-nodejs/issues/81)
13-
- [Missing oauth 2.0 support](https://github.com/pipedrive/client-nodejs/issues/78)
1413

1514
## API Documentation
1615
The Pipedrive REST API documentation can be found at https://developers.pipedrive.com/v1

lib/rest.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@
7676
headers['content-type'] = this.options.json ? 'application/json' : 'application/x-www-form-urlencoded';
7777
}
7878

79-
if(options.accessToken)
79+
if (options.accessToken) {
8080
headers['Authorization'] = 'Bearer ' + options.accessToken;
81+
}
8182

8283
requestOptions = {
8384
method: method,

0 commit comments

Comments
 (0)