cache deleteById to deleteByGroup

This commit is contained in:
shimon committed 2023-07-13 13:53:35 +03:00
1 parent b7aab21698
commit ee6ddc89dc
1 file changed
+1 -1
+1 -1
View File
@@ -137,7 +137,7 @@ class DeletesV1 extends Worker
protected function deleteCacheByResource(Document $project, string $resource): void
{
$projectId = $project->getId();
$dbForProject = $this->getProjectDB($project);
$dbForProject = $this->getProjectDB($projectId);
$cache = new Cache(
new Filesystem(APP_STORAGE_CACHE . DIRECTORY_SEPARATOR . 'app-' . $projectId)