mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 11:44:04 +00:00
Fix keys issue
This commit is contained in:
parent
3bada4ef32
commit
71a63520c8
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ class RedisStorageDriver implements StorageDriver
|
||||||
$redis_prefix = $this->redis->getOption($this->redis->client()::OPT_PREFIX) ?? $redis_prefix;
|
$redis_prefix = $this->redis->getOption($this->redis->client()::OPT_PREFIX) ?? $redis_prefix;
|
||||||
}
|
}
|
||||||
|
|
||||||
$all_keys = $this->redis->keys($redis_prefix . 'tenants:*');
|
$all_keys = $this->redis->keys('tenants:*');
|
||||||
|
|
||||||
$hashes = array_map(function ($key) use ($redis_prefix) {
|
$hashes = array_map(function ($key) use ($redis_prefix) {
|
||||||
// Left strip $redis_prefix from $key
|
// Left strip $redis_prefix from $key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue