Skip to content

Commit b4c749c

Browse files
authored
Merge pull request #26 from netlogix/fix/VCLOUD-513-handling-of-no-store-header-is-flipped
2 parents 4e62857 + b433698 commit b4c749c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Service/ConsumerBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ protected function requestJson(Uri $uri): PromiseInterface
280280
$response = $this
281281
->fetch($uri, $headers)
282282
->then(function(string $result) use ($cacheIdentifier, $storeResponse) {
283-
if (!$storeResponse) {
283+
if ($storeResponse) {
284284
$this->requestsCache->set($cacheIdentifier, $result);
285285
}
286286
return $result;

0 commit comments

Comments
 (0)