Admin function for tenant

This commit is contained in:
th.guenther committed 2026-06-21 18:00:20 +02:00
1 parent 12f05ceb09
commit fed54514c8
17 files changed
+827

No files matched your search

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