Skip to content

Commit

Permalink
Added method to update approval configuration (#770)
Browse files Browse the repository at this point in the history
Co-authored-by: Luuk Kleiweg <[email protected]>
  • Loading branch information
Luke40172 and LuukGASA authored Oct 8, 2023
1 parent 97301c8 commit 71d1408
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Api/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,17 @@ public function approvalsConfiguration($project_id)
return $this->get('projects/'.self::encodePath($project_id).'/approvals');
}

/**
* @param int|string $project_id
* @param array $parameters
*
* @return mixed
*/
public function updateApprovalsConfiguration($project_id, array $parameters = [])
{
return $this->post('projects/'.self::encodePath($project_id).'/approvals', $parameters);
}

/**
* @param int|string $project_id
*
Expand Down

0 comments on commit 71d1408

Please sign in to comment.