Skip to content

Commit

Permalink
always load from cache (options should be respected on initial load too)
Browse files Browse the repository at this point in the history
  • Loading branch information
demianh committed Feb 14, 2020
1 parent 3ede469 commit af17a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Webling/Cache/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit af17a3f

Please sign in to comment.