pipedrive / client-nodejs

Pipedrive API client for NodeJS
MIT License
207 stars 81 forks source link

Wrong example #479

Closed Tr1Galki closed 1 year ago

Tr1Galki commented 1 year ago

Is it mistake at complete example? app.get('/callback', (req, res) => { const authCode = req.query.code; const promise = apiClient.authorize(code); would it be correct to enter here? apiClient.authorize(authCode );

siirimangus commented 1 year ago

Hey, @Tr1Galki , thank you for the sharp eye and reporting! Yes, you are correct, the variable name in the authorize method should be authCode. We fixed it in the v20.5.2.

I will close the issue, cheers!