1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 01:14:04 +00:00

build prefix using original prefix

This commit is contained in:
Abrar Ahmad 2022-11-30 13:25:07 +05:00
parent 387a10b918
commit 169a7f7cc9

View file

@ -27,7 +27,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
$this->originalPrefix = $this->config->get('cache.prefix');
$this->storeName = $this->config->get('cache.default');
$this->setCachePrefix($this->config->get('tenancy.cache.prefix_base') . $tenant->getTenantKey());
$this->setCachePrefix($this->originalPrefix . $this->config->get('tenancy.cache.prefix_base') . $tenant->getTenantKey());
}
public function revert(): void