Revert "fix: [tenant-console] 테넌트 콘솔 분리작업"
This reverts commit 8da1702e
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Helpers\TenantHelper;
|
||||
use App\Models\Tenants\Department;
|
||||
use App\Models\Tenants\Tenant;
|
||||
use App\Services\DepartmentPermissionService;
|
||||
@@ -22,7 +21,7 @@ public function __construct(DepartmentPermissionService $departmentPermissionSer
|
||||
*/
|
||||
public function index(Request $request)
|
||||
{
|
||||
$tenantId = TenantHelper::getRawTenantId();
|
||||
$tenantId = session('selected_tenant_id');
|
||||
|
||||
// 부서 목록 조회
|
||||
$departmentsQuery = Department::query()->orderBy('tenant_id')->orderBy('sort_order')->orderBy('name');
|
||||
|
||||
Reference in New Issue
Block a user