From 8aede017671b9e5b83fd6b5c57134caa4c55b977 Mon Sep 17 00:00:00 2001 From: Mefilt Date: Fri, 21 Aug 2020 16:27:16 +0300 Subject: [PATCH] Changed model --- WavesSDK/Sources/Services/Data/Models/ResponseData.swift | 4 ++-- .../Sources/Services/Data/Queries/MassTransferDataQuery.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WavesSDK/Sources/Services/Data/Models/ResponseData.swift b/WavesSDK/Sources/Services/Data/Models/ResponseData.swift index 0e952a0..2e3eb5e 100644 --- a/WavesSDK/Sources/Services/Data/Models/ResponseData.swift +++ b/WavesSDK/Sources/Services/Data/Models/ResponseData.swift @@ -11,7 +11,7 @@ import Foundation public extension DataService { struct Response: Decodable { public let type: String - public let data: T + public var data: T public let isLastPage: Bool? public let lastCursor: String? @@ -25,7 +25,7 @@ public extension DataService { struct OptionalResponse: Decodable { public let type: String - public let data: T? + public var data: T? public let isLastPage: Bool? public let lastCursor: String? diff --git a/WavesSDK/Sources/Services/Data/Queries/MassTransferDataQuery.swift b/WavesSDK/Sources/Services/Data/Queries/MassTransferDataQuery.swift index 9935d78..f646164 100644 --- a/WavesSDK/Sources/Services/Data/Queries/MassTransferDataQuery.swift +++ b/WavesSDK/Sources/Services/Data/Queries/MassTransferDataQuery.swift @@ -37,7 +37,7 @@ extension DataService.Query { public let assetId: String? /// Курсор последней записи в списке (base64 строчка которая держит в себе инфу по оффсету, таймстампа и тд) - public let after: String? + public var after: String? /// признак сортировки public let sort: SortOrder