Rebase issues solved

This commit is contained in:
Manish 2025-11-17 11:32:07 +05:30
parent 14ed2a8417
commit d5868d213a
2 changed files with 1 additions and 9 deletions

View File

@ -1,7 +1,7 @@
class ApiEndpoints {
// static const String baseUrl = "https://stageapi.marcoaiot.com/api";
// static const String baseUrl = "https://api.marcoaiot.com/api";
static const String baseUrl = "https://devapi.marcoaiot.com/api";
//static const String baseUrl = "https://devapi.marcoaiot.com/api";
static const String getMasterCurrencies = "/Master/currencies/list";
static const String getMasterExpensesCategories =

View File

@ -436,8 +436,6 @@ class ApiService {
final endpoint = "${ApiEndpoints.getServiceProjectDetail}/$projectId";
logSafe("Fetching details for Service Project ID: $projectId");
try {
final response = await _getRequest(endpoint);
try {
final response = await _getRequest(endpoint);
@ -454,10 +452,6 @@ class ApiService {
return null;
}
final jsonResponse = _parseResponseForAllData(
response,
label: "Service Project Detail",
);
final jsonResponse = _parseResponseForAllData(
response,
label: "Service Project Detail",
@ -487,8 +481,6 @@ class ApiService {
return null;
}
return null;
}
/// Get Service Project List
static Future<ServiceProjectListModel?> getServiceProjectsListApi({