fix flush bugs

This commit is contained in:
mohammad
2025-05-13 10:23:35 +03:00
parent 2e2db90c19
commit 86bd3fdd5b
2 changed files with 3 additions and 4 deletions

View File

@ -579,7 +579,7 @@ class DevicesAPI {
.replaceAll('{code}', code),
showServerMessage: false,
expectedResponseModel: (json) {
return DeviceReport.fromJson(json);
return DeviceReport.fromJson(json['data']);
},
);
return response;