diff --git a/src/Webling/Cache/Cache.php b/src/Webling/Cache/Cache.php index 3f85257..5a3455e 100644 --- a/src/Webling/Cache/Cache.php +++ b/src/Webling/Cache/Cache.php @@ -132,7 +132,7 @@ public function getObjectBinary($type, $objectId, $url, $options = []) { if ($response->getStatusCode() >= 200 && $response->getStatusCode() < 300) { $data = $response->getData(); $this->adapter->setObjectBinary($objectId, $url, $data); - return $data; + return $this->adapter->getObjectBinary($objectId, $url, $options); } } }