Fixing Gitlab support
This commit is contained in:
parent
08af82e84b
commit
a1f47ddfe1
2 changed files with 7 additions and 4 deletions
|
|
@ -175,7 +175,8 @@ class WebhookController extends \PHPCI\Controller
|
|||
*/
|
||||
public function gitlab($project)
|
||||
{
|
||||
$payload = json_decode($this->getParam('payload'), true);
|
||||
$payloadString = file_get_contents("php://input");
|
||||
$payload = json_decode($payloadString, true);
|
||||
|
||||
try {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue