diff --git a/src/Request/VisionRequest.php b/src/Request/VisionRequest.php index 6418a65..7059722 100644 --- a/src/Request/VisionRequest.php +++ b/src/Request/VisionRequest.php @@ -145,7 +145,7 @@ protected function getPayload() $this->image->getType() => $this->image->getValue(), ], 'features' => $this->getMappedFeatures(), - 'imageContext' => $this->extractImageContext() + 'imageContext' => $this->extractImageContext() ?: null ], ], ];