mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
Merge branch 'master' into feature/multiplerandom
This commit is contained in:
commit
afcf8d7dbc
@ -67,10 +67,13 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user