diff --git a/lib/helpers/services/api_service.dart b/lib/helpers/services/api_service.dart index 1e6c5cd..59a2d6c 100644 --- a/lib/helpers/services/api_service.dart +++ b/lib/helpers/services/api_service.dart @@ -2168,13 +2168,10 @@ class ApiService { } /// Fetch employees with optional query. Returns raw list (List) - static Future> getEmployees( - {Map? queryParams}) async { static Future> getEmployees( {Map? queryParams}) async { try { final endpoint = ApiEndpoints.getEmployeesWithoutPermission; - final endpoint = ApiEndpoints.getEmployeesWithoutPermission; final resp = await _getRequest(endpoint, queryParams: queryParams); if (resp == null) return [];