Merge branch 'Service_Project_Feature' of https://git.marcoaiot.com/admin/marco.pms.mobileapp into Service_Project_Feature

This commit is contained in:
Vaibhav Surve 2025-11-17 15:00:04 +05:30
commit 52da540271

View File

@ -2168,13 +2168,10 @@ class ApiService {
}
/// Fetch employees with optional query. Returns raw list (List<dynamic>)
static Future<List<dynamic>> getEmployees(
{Map<String, String>? queryParams}) async {
static Future<List<dynamic>> getEmployees(
{Map<String, String>? queryParams}) async {
try {
final endpoint = ApiEndpoints.getEmployeesWithoutPermission;
final endpoint = ApiEndpoints.getEmployeesWithoutPermission;
final resp = await _getRequest(endpoint, queryParams: queryParams);
if (resp == null) return [];