mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
Refactor debug print statements in space management API
This commit is contained in:
@ -390,7 +390,8 @@ class CommunitySpaceManagementApi {
|
|||||||
rooms.add(SubSpaceModel.fromJson(subspace));
|
rooms.add(SubSpaceModel.fromJson(subspace));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
print("Warning: 'data' key is missing or null in response JSON.");
|
debugPrint(
|
||||||
|
"Warning: 'data' key is missing or null in response JSON.");
|
||||||
}
|
}
|
||||||
return rooms;
|
return rooms;
|
||||||
},
|
},
|
||||||
@ -417,7 +418,6 @@ class CommunitySpaceManagementApi {
|
|||||||
.replaceAll('{subSpaceUuid}', subSpaceId)
|
.replaceAll('{subSpaceUuid}', subSpaceId)
|
||||||
.replaceAll('{deviceUuid}', deviceId),
|
.replaceAll('{deviceUuid}', deviceId),
|
||||||
expectedResponseModel: (json) {
|
expectedResponseModel: (json) {
|
||||||
print('Assign Device Response: $json');
|
|
||||||
return json;
|
return json;
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user