multistore
Laurent 1 year ago
parent b69e2269a2
commit 3753e09e16
  1. 2
      LeStorage/ApiCallCollection.swift

@ -66,7 +66,7 @@ actor ApiCallCollection<T: Storable>: SomeCallCollection {
if FileManager.default.fileExists(atPath: fileURL.path()) {
let jsonString: String = try FileUtils.readFile(fileURL: fileURL)
let decoded: [ApiCall<T>] = try jsonString.decodeArray() ?? []
Logger.log("loaded \(fileURL.lastPathComponent) with \(decoded.count) items")
// Logger.log("loaded \(fileURL.lastPathComponent) with \(decoded.count) items")
self.items = decoded
}
}

Loading…
Cancel
Save