mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 09:54:55 +00:00
Bug fixes 3
This commit is contained in:
@ -365,8 +365,6 @@ class DevicesAPI {
|
|||||||
required String startTime,
|
required String startTime,
|
||||||
required String endTime,
|
required String endTime,
|
||||||
}) async {
|
}) async {
|
||||||
// print(
|
|
||||||
// '---------${ApiEndpoints.reportLogs.replaceAll('{deviceUuid}', deviceUuid).replaceAll('{code}', code).replaceAll('{startTime}', startTime).replaceAll('{endTime}', endTime)}');
|
|
||||||
final response = await _httpService.get(
|
final response = await _httpService.get(
|
||||||
path: ApiEndpoints.reportLogs
|
path: ApiEndpoints.reportLogs
|
||||||
.replaceAll('{deviceUuid}', deviceUuid)
|
.replaceAll('{deviceUuid}', deviceUuid)
|
||||||
@ -374,7 +372,6 @@ class DevicesAPI {
|
|||||||
.replaceAll('{startTime}', startTime)
|
.replaceAll('{startTime}', startTime)
|
||||||
.replaceAll('{endTime}', endTime),
|
.replaceAll('{endTime}', endTime),
|
||||||
expectedResponseModel: (json) {
|
expectedResponseModel: (json) {
|
||||||
print('json-=-=-=-=-=-=-=${json}');
|
|
||||||
return DeviceReport.fromJson(json);
|
return DeviceReport.fromJson(json);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user