mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 14:34:04 +00:00
Merge
This commit is contained in:
commit
088501a939
1 changed files with 2 additions and 1 deletions
|
|
@ -121,6 +121,7 @@ class RedisStorageDriver implements StorageDriver
|
|||
public function get(string $key, Tenant $tenant = null)
|
||||
{
|
||||
$tenant = $tenant ?? $this->tenant();
|
||||
|
||||
return json_decode($this->redis->hget("tenants:{$tenant->id}", $key), true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue