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

Merge branch 'master' of github.com:stancl/tenancy

This commit is contained in:
Samuel Štancl 2019-09-11 19:27:52 +02:00
commit 92adfe2ba1

View file

@ -64,7 +64,7 @@ class RedisStorageDriver implements StorageDriver
{
$this->redis->pipeline(function ($pipe) use ($tenant) {
$id = $tenant->id;
foreach ($tenant->domains as $domain) {
$pipe->hmset("domains:$domain", 'tenant_id', $id);
}