pipedrive 20.5.1 → 20.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -275,7 +275,7 @@ app.get('/', async (req, res) => {
275
275
 
276
276
  app.get('/callback', (req, res) => {
277
277
  const authCode = req.query.code;
278
- const promise = apiClient.authorize(code);
278
+ const promise = apiClient.authorize(authCode);
279
279
 
280
280
  promise.then(() => {
281
281
  req.session.accessToken = apiClient.authentications.oauth2.accessToken;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "20.5.1",
3
+ "version": "20.5.2",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",