1
0
Fork 0
mirror of synced 2024-10-03 19:53:33 +13:00

Fix cache key

This commit is contained in:
Jake Barnby 2023-04-11 22:27:49 +12:00
parent 28a9a373b1
commit c60d7764e4
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C

View file

@ -149,7 +149,7 @@ class V18 extends Migration
private function migrateCache(Document $document)
{
$key = "cache-_{$this->project->getInternalId()}:_{$document->getCollection()}:{$document->getId()}";
$key = "cache-_{$this->project->getInternalId()}:{$document->getCollection()}:{$document->getId()}";
$value = $this->redis->get($key);
if ($value) {