Code Styling

This commit is contained in:
2026-06-21 22:12:05 +02:00
parent aebb2f9aaa
commit c1ef1d71ad
49 changed files with 650 additions and 159 deletions
@@ -2,7 +2,6 @@
namespace App\Domains\Admin\Controllers;
use App\Models\Tenant;
use App\Scopes\CommonController;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
@@ -11,7 +10,7 @@ class TenantGeneralGetController extends CommonController
{
public function __invoke(string $slug, Request $request): JsonResponse
{
$tenant = Tenant::where('slug', $slug)->firstOrFail();
$tenant = $this->adminTenants->findBySlug($slug);
return response()->json([
'name' => $tenant->name,