1
0
Fork 0
mirror of synced 2024-09-08 05:42:15 +12:00

cache deleteById to deleteByGroup

This commit is contained in:
shimon 2023-07-13 13:53:35 +03:00
parent b7aab21698
commit ee6ddc89dc

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)