Skip to content

Commit 432228c

Browse files
32554: Fixed the cache tags issue
1 parent f4f290d commit 432228c

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/StoreGraphQl/Model/Resolver/Store

1 file changed

+2
-1
lines changed

app/code/Magento/StoreGraphQl/Model/Resolver/Store/Identity.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ class Identity implements IdentityInterface
2222
*/
2323
public function getIdentities(array $resolvedData): array
2424
{
25+
$data["id"] = empty($resolvedData) ? [] : $resolvedData["id"];
2526
$ids = empty($resolvedData) ?
2627
[] : array_merge([$this->cacheTag], array_map(function ($key) {
2728
return sprintf('%s_%s', $this->cacheTag, $key);
28-
}, array_keys($resolvedData)));
29+
}, $data));
2930
return $ids;
3031
}
3132
}

0 commit comments

Comments
 (0)