We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a456f62 commit 4ca04e1Copy full SHA for 4ca04e1
src/LaravelStrapi.php
@@ -146,7 +146,7 @@ public function locale(string $locale) : LaravelStrapi
146
147
private function makeCacheKey() : string
148
{
149
- return serialize($this->apiResource).'_'.serialize($this->requestParameters);
+ return serialize($this->endpoint($this->apiResource,$this->entryId)).'_'.serialize($this->requestParameters);
150
}
151
152
private function endpoint(string $resource,int $entryId=null) : string
0 commit comments