Merge branch 'Service_Project_Feature' of https://git.marcoaiot.com/admin/marco.pms.mobileapp into Service_Project_Feature
This commit is contained in:
commit
52da540271
@ -2168,13 +2168,10 @@ class ApiService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Fetch employees with optional query. Returns raw list (List<dynamic>)
|
/// 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(
|
static Future<List<dynamic>> getEmployees(
|
||||||
{Map<String, String>? queryParams}) async {
|
{Map<String, String>? queryParams}) async {
|
||||||
try {
|
try {
|
||||||
final endpoint = ApiEndpoints.getEmployeesWithoutPermission;
|
final endpoint = ApiEndpoints.getEmployeesWithoutPermission;
|
||||||
final endpoint = ApiEndpoints.getEmployeesWithoutPermission;
|
|
||||||
|
|
||||||
final resp = await _getRequest(endpoint, queryParams: queryParams);
|
final resp = await _getRequest(endpoint, queryParams: queryParams);
|
||||||
if (resp == null) return [];
|
if (resp == null) return [];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user