Merge pull request #66 from SyncrowIOT/Implement_Change_Password_Flow

change_password
This commit is contained in:
mohammadnemer1
2025-01-16 18:02:33 +03:00
committed by GitHub
50 changed files with 3020 additions and 524 deletions

View File

@ -448,14 +448,14 @@ class DevicesAPI {
required String startTime,
required String endTime,
}) async {
final requestUrl = ApiEndpoints.reportLogs
.replaceAll('{deviceUuid}', deviceUuid)
.replaceAll('{code}', code)
.replaceAll('{startTime}', startTime)
.replaceAll('{endTime}', endTime);
final response = await _httpService.get(
path: ApiEndpoints.reportLogs
.replaceAll('{deviceUuid}', deviceUuid)
.replaceAll('{code}', code)
.replaceAll('{startTime}', startTime)
.replaceAll('{endTime}', endTime),
path: requestUrl,
expectedResponseModel: (json) {
log('json=====$json');
return DeviceReport.fromJson(json);
},
);