Refactor debug print statements in space management API

This commit is contained in:
mohammad
2025-06-02 12:58:11 +03:00
parent cf5e05a888
commit ba08fcf71f

View File

@ -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;
}, },
); );