From 0969c8ff4003d48de40934de125706bd560cef20 Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 21 Mar 2022 13:25:52 +0000 Subject: [PATCH] add version to cache key --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index f985e05..dfa4c8c 100644 --- a/src/Client.php +++ b/src/Client.php @@ -250,7 +250,7 @@ protected function makeRequest($type, $options) $request = $this->requestFactory->create($type, ['key' => $this->apiKey] + $options); try { - $cacheKey = $this->urlBuilder->build($request); + $cacheKey = $this->urlBuilder->build($request) . 'v1'; return $this->cache(md5($cacheKey), function() use ($request) { $rawResponse = $this->makeHttpRequest($request);