Rebase issues solved
This commit is contained in:
parent
14ed2a8417
commit
d5868d213a
@ -1,7 +1,7 @@
|
|||||||
class ApiEndpoints {
|
class ApiEndpoints {
|
||||||
// static const String baseUrl = "https://stageapi.marcoaiot.com/api";
|
// static const String baseUrl = "https://stageapi.marcoaiot.com/api";
|
||||||
// static const String baseUrl = "https://api.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 getMasterCurrencies = "/Master/currencies/list";
|
||||||
static const String getMasterExpensesCategories =
|
static const String getMasterExpensesCategories =
|
||||||
|
|||||||
@ -436,8 +436,6 @@ class ApiService {
|
|||||||
final endpoint = "${ApiEndpoints.getServiceProjectDetail}/$projectId";
|
final endpoint = "${ApiEndpoints.getServiceProjectDetail}/$projectId";
|
||||||
logSafe("Fetching details for Service Project ID: $projectId");
|
logSafe("Fetching details for Service Project ID: $projectId");
|
||||||
|
|
||||||
try {
|
|
||||||
final response = await _getRequest(endpoint);
|
|
||||||
try {
|
try {
|
||||||
final response = await _getRequest(endpoint);
|
final response = await _getRequest(endpoint);
|
||||||
|
|
||||||
@ -454,10 +452,6 @@ class ApiService {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
final jsonResponse = _parseResponseForAllData(
|
|
||||||
response,
|
|
||||||
label: "Service Project Detail",
|
|
||||||
);
|
|
||||||
final jsonResponse = _parseResponseForAllData(
|
final jsonResponse = _parseResponseForAllData(
|
||||||
response,
|
response,
|
||||||
label: "Service Project Detail",
|
label: "Service Project Detail",
|
||||||
@ -487,8 +481,6 @@ class ApiService {
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Get Service Project List
|
/// Get Service Project List
|
||||||
static Future<ServiceProjectListModel?> getServiceProjectsListApi({
|
static Future<ServiceProjectListModel?> getServiceProjectsListApi({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user