mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:34:03 +00:00
Merge branch 'master' of github.com:stancl/tenancy
This commit is contained in:
commit
92adfe2ba1
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class RedisStorageDriver implements StorageDriver
|
||||||
{
|
{
|
||||||
$this->redis->pipeline(function ($pipe) use ($tenant) {
|
$this->redis->pipeline(function ($pipe) use ($tenant) {
|
||||||
$id = $tenant->id;
|
$id = $tenant->id;
|
||||||
|
|
||||||
foreach ($tenant->domains as $domain) {
|
foreach ($tenant->domains as $domain) {
|
||||||
$pipe->hmset("domains:$domain", 'tenant_id', $id);
|
$pipe->hmset("domains:$domain", 'tenant_id', $id);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue