Skip to content

Commit

Permalink
Merge pull request #81 from MgHtinLynn/add-pipeLineId-into-deals-summary
Browse files Browse the repository at this point in the history
Add pipeline_id into deals summary API
  • Loading branch information
SpaceOven committed May 8, 2023
2 parents a9fcb59 + 9ca112a commit 82bffda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Controllers/DealsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,11 @@ public function getDealsSummary(

//process optional query parameters
APIHelper::appendUrlWithQueryParameters($_queryBuilder, array (
'status' => $this->val($options, 'status'),
'filter_id' => $this->val($options, 'filterId'),
'user_id' => $this->val($options, 'userId'),
'stage_id' => $this->val($options, 'stageId'),
'status' => $this->val($options, 'status'),
'filter_id' => $this->val($options, 'filterId'),
'user_id' => $this->val($options, 'userId'),
'stage_id' => $this->val($options, 'stageId'),
'pipeline_id' => $this->val($options, 'pipelineId'),
));

//validate and preprocess url
Expand Down
1 change: 1 addition & 0 deletions tests/Controllers/DealsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ public function testTestGetDealsSummary()
$input['filterId'] = null;
$input['userId'] = null;
$input['stageId'] = null;
$input['pipelineId'] = null;

// Set callback and perform API call
$result = null;
Expand Down

0 comments on commit 82bffda

Please sign in to comment.