mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 05:34:02 +00:00
Some fixes
This commit is contained in:
parent
a7a019b148
commit
2bd9fdaf7f
1 changed files with 2 additions and 2 deletions
|
|
@ -93,8 +93,8 @@ class TenantManager
|
||||||
throw new \Exception("Domain $domain does not exists.");
|
throw new \Exception("Domain $domain does not exists.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($aliasUuid = $this->storage->getTenantIdByDomain($alias)) {
|
if ($this->storage->getTenantIdByDomain($alias)) {
|
||||||
throw new \Exception("Domain Alias $domain is already occupied in use.");
|
throw new \Exception("Domain Alias $alias is already occupied.");
|
||||||
}
|
}
|
||||||
|
|
||||||
$tenant = $this->jsonDecodeArrayValues($this->storage->aliasTenant($alias, $uuid));
|
$tenant = $this->jsonDecodeArrayValues($this->storage->aliasTenant($alias, $uuid));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue