Rebase issues solved
This commit is contained in:
parent
ed88e0dfc9
commit
39abfa2260
@ -1,5 +1,5 @@
|
||||
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://devapi.marcoaiot.com/api";
|
||||
// static const String baseUrl = "https://mapi.marcoaiot.com/api";
|
||||
|
||||
@ -514,8 +514,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);
|
||||
|
||||
@ -532,10 +530,6 @@ class ApiService {
|
||||
return null;
|
||||
}
|
||||
|
||||
final jsonResponse = _parseResponseForAllData(
|
||||
response,
|
||||
label: "Service Project Detail",
|
||||
);
|
||||
final jsonResponse = _parseResponseForAllData(
|
||||
response,
|
||||
label: "Service Project Detail",
|
||||
@ -565,8 +559,6 @@ class ApiService {
|
||||
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// Get Service Project List
|
||||
static Future<ServiceProjectListModel?> getServiceProjectsListApi({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user