Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit e54ed37

Browse files
committed
Payload enhancer fix
1 parent 1074722 commit e54ed37

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Enhancer/PayloadEnhancer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ public function enhance(array $data, Context $context, Resource $resource)
2929
$visitor = $context->getVisitor();
3030
$payload = $resource->getPayload();
3131

32-
$context->startVisiting($payload);
33-
$data['payload'] = $context->accept($payload);
34-
$context->stopVisiting($payload);
32+
$data['payload'] = $payload;
3533

3634
return $data;
3735
}

0 commit comments

Comments
 (0)