mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Session scoping & tenant() cleanup
This commit is contained in:
parent
c8f9a82745
commit
05d6383b99
6 changed files with 125 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ class CacheManager extends BaseCacheManager
|
|||
*/
|
||||
public function __call($method, $parameters)
|
||||
{
|
||||
$tags = [config('tenancy.cache.tag_base') . tenant('id')];
|
||||
$tags = [config('tenancy.cache.tag_base') . tenant()->getTenantKey()];
|
||||
|
||||
if ($method === 'tags') {
|
||||
if (count($parameters) !== 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue