We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aace323 commit c7b4437Copy full SHA for c7b4437
1 file changed
src/services/Gql.php
@@ -534,7 +534,7 @@ public function executeQuery(
534
535
[$dep, $duration] = $elementsService->stopCollectingCacheInfo();
536
537
- if (empty($event->result['errors']) && $cacheKey && $this->shouldCache($event->result ?? [])) {
+ if (empty($event->result['errors']) && $cacheKey && $this->shouldCache($event->result)) {
538
$this->setCachedResult($cacheKey, $event->result, $dep, $duration);
539
}
540
0 commit comments