Skip to content

Commit 71d1408

Browse files
Luke40172LuukGASA
andauthored
Added method to update approval configuration (#770)
Co-authored-by: Luuk Kleiweg <[email protected]>
1 parent 97301c8 commit 71d1408

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Api/Projects.php

+11
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,17 @@ public function approvalsConfiguration($project_id)
15681568
return $this->get('projects/'.self::encodePath($project_id).'/approvals');
15691569
}
15701570

1571+
/**
1572+
* @param int|string $project_id
1573+
* @param array $parameters
1574+
*
1575+
* @return mixed
1576+
*/
1577+
public function updateApprovalsConfiguration($project_id, array $parameters = [])
1578+
{
1579+
return $this->post('projects/'.self::encodePath($project_id).'/approvals', $parameters);
1580+
}
1581+
15711582
/**
15721583
* @param int|string $project_id
15731584
*

0 commit comments

Comments
 (0)