pipedrive 20.5.1 → 20.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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",