style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -461,13 +461,13 @@ public function users(): JsonResponse
// 세션에서 직접 테넌트 ID 조회 (관리자가 선택한 테넌트)
$selectedTenantId = session('selected_tenant_id');
if (!$selectedTenantId) {
if (! $selectedTenantId) {
// 테넌트가 선택되지 않은 경우 로그인 사용자의 기본 테넌트 사용
$currentTenant = auth()->user()->tenants()
->where('is_default', true)
->first() ?? auth()->user()->tenants()->first();
if (!$currentTenant) {
if (! $currentTenant) {
return response()->json([]);
}
@@ -477,7 +477,7 @@ public function users(): JsonResponse
// Tenant 모델에서 직접 조회 (사용자의 테넌트 관계와 무관하게)
$tenant = \App\Models\Tenants\Tenant::find($selectedTenantId);
if (!$tenant) {
if (! $tenant) {
return response()->json([]);
}
@@ -510,7 +510,7 @@ public function issueToken(Request $request): JsonResponse
$user = \App\Models\User::find($validated['user_id']);
if (!$user) {
if (! $user) {
return response()->json(['error' => '사용자를 찾을 수 없습니다.'], 404);
}