Skip to content

Commit

Permalink
Merge commit 'bc2c48d7daeb70595c963469008290f808ad20a0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins User committed Aug 8, 2018
2 parents 247b6c1 + bc2c48d commit 130e6b9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,27 @@ pipedrive.Deals.getAll({}, function(err, deals) {
* ActivityTypes
* Authorizations
* Currencies
* CompanyFeatures,
* CompanySettings,
* Deals
* DealFields
* Files
* Filters
* Goals
* Notes
* Organizations
* OrganizationFields
* PermissionSets
* Persons
* PersonFields
* Pipelines
* Products
* ProductFields
* Roles
* SearchResults
* Stages
* Users
* Webhooks

# Authorization against email and password

Expand Down Expand Up @@ -122,7 +128,7 @@ To add a product to a deal, simply invoke the ```addProduct``` method on a deal
```js
pipedrive.Deals.get(1, function(err, deal) {
if (err) throw err;
deal.addProduct({ product_id: 1, quantity: 5, discount: 20 }, function(addErr, addData) {
deal.addProduct({ product_id: 1, quantity: 5, item_price: 10, discount: 20 }, function(addErr, addData) {
if (addErr) throw addErr;
console.log('Product 1 was added to deal 1', addData);
});
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"dependencies": {
"async": "~0.9.0",
"fetch": "~0.3.6",
"lodash": "~2.4.1",
"lodash": "~4.17.10",
"mime": "~1.4.1",
"qs": "~2.1.0",
"qs": "~6.0.4",
"sockjs-client": "^1.0.3"
},
"devDependencies": {
Expand Down

0 comments on commit 130e6b9

Please sign in to comment.