This commit is contained in:
hannathkadher
2024-11-04 17:45:29 +04:00
parent ab4f8c593d
commit 944de7b373

View File

@ -37,13 +37,11 @@ class SpacesAPI {
.replaceFirst('{communityUuid}', communityId) .replaceFirst('{communityUuid}', communityId)
.replaceFirst('{spaceUuid}', spaceId); .replaceFirst('{spaceUuid}', spaceId);
final response = await _httpService.get( final response = await _httpService.get(
path: path, path: path,
queryParameters: {"page": 1, "pageSize": 10}, queryParameters: {"page": 1, "pageSize": 10},
showServerMessage: false, showServerMessage: false,
expectedResponseModel: (json) { expectedResponseModel: (json) {
List<SubSpaceModel> rooms = []; List<SubSpaceModel> rooms = [];
if (json['data'] != null) { if (json['data'] != null) {
for (var subspace in json['data']) { for (var subspace in json['data']) {