Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).

## [Unreleased]
### Changed
- Bump `axios` from `1.3.3` to `1.9.0`
- Update README with an example of fetching deal details

## [27.1.1] - 2025-05-23
### Fixed
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,12 @@ app.listen(PORT, () => {

app.get("/", async (req, res) => {
const dealsApi = new DealsApi(apiConfig);
const response = await dealsApi.getDeals();
const { data: deals } = response;
const responseAllDeals = await dealsApi.getDeals();
const { data: deals } = responseAllDeals;
const responseOneDeal = await dealsApi.getDeal({ id: 1 });
const { data: deal } = responseOneDeal;

res.send(deals);
res.send({ deals, deal });
});
```

Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"fs": false
},
"dependencies": {
"axios": "^1.3.3",
"axios": "^1.9.0",
"qs": "^6.11.0"
},
"devDependencies": {
Expand Down
Loading