You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two environments "development" and "production" to deploy my projects. I use a webhook with gitea server and I receive a 500 status code when it called the webhook.
I have this error since tag 2.1.0. Before this, I used a master with this feature #407
Returns: {"status":"failed","error":"PHPCensor\\Controller\\WebhookController::createBuild(): Argument #3 ($commitId) must be of type string, null given, called in \/usr\/local\/www\/php-censor\/src\/Controller\/WebhookController.php on line 368"}
Hello,
I have two environments "development" and "production" to deploy my projects. I use a webhook with gitea server and I receive a 500 status code when it called the webhook.
I have this error since tag 2.1.0. Before this, I used a master with this feature #407
You can try with curl command in terminal:
curl 'PHPCENSOR/webhook/git/PROJECTID?environment=development'Returns:
{"status":"failed","error":"PHPCensor\\Controller\\WebhookController::createBuild(): Argument #3 ($commitId) must be of type string, null given, called in \/usr\/local\/www\/php-censor\/src\/Controller\/WebhookController.php on line 368"}