mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
payload debug
This commit is contained in:
parent
786c9d1013
commit
0e5b59e9f0
1 changed files with 1 additions and 0 deletions
|
|
@ -926,6 +926,7 @@ App::post('/v1/vcs/github/events')
|
||||||
->action(
|
->action(
|
||||||
function (GitHub $github, Request $request, Response $response, Database $dbForPlatform, callable $getProjectDB, Build $queueForBuilds) use ($createGitDeployments) {
|
function (GitHub $github, Request $request, Response $response, Database $dbForPlatform, callable $getProjectDB, Build $queueForBuilds) use ($createGitDeployments) {
|
||||||
$payload = $request->getRawPayload();
|
$payload = $request->getRawPayload();
|
||||||
|
var_dump(['payload' => $payload]);
|
||||||
$signatureRemote = $request->getHeader('x-hub-signature-256', '');
|
$signatureRemote = $request->getHeader('x-hub-signature-256', '');
|
||||||
$signatureLocal = System::getEnv('_APP_VCS_GITHUB_WEBHOOK_SECRET', '');
|
$signatureLocal = System::getEnv('_APP_VCS_GITHUB_WEBHOOK_SECRET', '');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue