This commit is contained in:
Irfan 2024-11-13 21:50:14 +05:00
parent 2fa3958ad9
commit 45cb4f0659

View File

@ -64,10 +64,14 @@ class MicroCaching
// if cache exists, return cache
if (Cache::has($fingerprint)) {
$response = \json_decode(Cache::get($fingerprint), true);
unset($response['meta']);
unset($response['links']);
return response()
->json(
\json_decode(Cache::get($fingerprint), true)
);
->json($response);
}
// set cache