mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 01:34:03 +00:00
wip
This commit is contained in:
parent
fb5cdb3239
commit
9f72bb2a69
1 changed files with 5 additions and 2 deletions
|
|
@ -70,10 +70,13 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
{
|
||||
$this->app['queue']->createPayloadUsing(function () {
|
||||
if (tenancy()->initialized) {
|
||||
$uuid = tenant('uuid');
|
||||
[$uuid, $domain] = tenant()->get('uuid', 'domain');
|
||||
return [
|
||||
'tenant_uuid' => $uuid,
|
||||
'tags' => ["tenant:$uuid"],
|
||||
'tags' => [
|
||||
"tenant:$uuid",
|
||||
"domain:$domain"
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue