|
|
|
|
@ -428,7 +428,7 @@ public class StoredCollection<T: Storable>: RandomAccessCollection, SomeCollecti |
|
|
|
|
|
|
|
|
|
/// Creates an API call for the Storable [instance] and an HTTP [method] |
|
|
|
|
fileprivate func _createCall(_ instance: T, method: HTTPMethod) throws -> ApiCall<T> { |
|
|
|
|
let baseURL = try _store.service().baseURL |
|
|
|
|
// let baseURL = try _store.service().baseURL |
|
|
|
|
let jsonString = try instance.jsonString() |
|
|
|
|
return ApiCall(method: method, dataId: String(instance.id), body: jsonString) |
|
|
|
|
} |
|
|
|
|
|