From c60d7764e41312d859296d22f9beba4d78006732 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 11 Apr 2023 22:27:49 +1200 Subject: [PATCH] Fix cache key --- src/Appwrite/Migration/Version/V18.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Migration/Version/V18.php b/src/Appwrite/Migration/Version/V18.php index 3b1a4fde85..7ae982da5c 100644 --- a/src/Appwrite/Migration/Version/V18.php +++ b/src/Appwrite/Migration/Version/V18.php @@ -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) {