From e503616a2f8b6a3130bb236eb9c4e3bf9a12e61a Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 22 Nov 2022 12:26:18 +0100 Subject: [PATCH] Run TenantDump as passed tenant --- src/Commands/TenantDump.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/TenantDump.php b/src/Commands/TenantDump.php index 3f957bdd..3483421e 100644 --- a/src/Commands/TenantDump.php +++ b/src/Commands/TenantDump.php @@ -41,7 +41,7 @@ class TenantDump extends DumpCommand return 1; } - parent::handle($connections, $dispatcher); + $tenant->run(fn() => parent::handle($connections, $dispatcher)); return 0; }