Files
mareike/app/Domains/Admin/Controllers/TenantImpressGetController.php
T
2026-06-21 18:00:20 +02:00

18 lines
392 B
PHP

<?php
namespace App\Domains\Admin\Controllers;
use App\Scopes\CommonController;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class TenantImpressGetController extends CommonController
{
public function __invoke(Request $request): JsonResponse
{
return response()->json([
'impress_text' => $this->tenant->impress_text ?? '',
]);
}
}