Skip to content

Commit a80c7d1

Browse files
authored
Merge pull request #260 from indykoning/patch-2
Add transaction to the Inspector type whitelist
2 parents 76290b2 + da21392 commit a80c7d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: app/modules/Inspector/Interfaces/Http/Handler/EventHandler.php

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function handle(ServerRequestInterface $request, \Closure $next): Respons
4545
$type = $data[0]['type'] ?? 'unknown';
4646

4747
$data = match ($type) {
48+
'transaction',
4849
'process',
4950
'request' => $data,
5051
default => throw new BadRequestException(

0 commit comments

Comments
 (0)