Skip to content

Commit 5c7499d

Browse files
author
Simon
committed
cacheKey fix
1 parent 274eacd commit 5c7499d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/PayconiqCallbackSignatureVerifier.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ private function getJWKSet(): JWKSet
132132
{
133133
try {
134134
$url = $this->getCertificatesUrl();
135+
$cacheKey = 'payconiq_certificates_' . md5($url);
135136

136137
$JWKSetJson = $this->cache->get(
137-
key: $url,
138+
key: $cacheKey,
138139
callback: function (ItemInterface $item) use ($url) {
139140
$item->expiresAfter(CarbonInterval::hour(12));
140141

0 commit comments

Comments
 (0)