diff --git a/Sources/YLS-iOS/YLS_iOS.swift b/Sources/YLS-iOS/YLS_iOS.swift index 750870c..8d66963 100644 --- a/Sources/YLS-iOS/YLS_iOS.swift +++ b/Sources/YLS-iOS/YLS_iOS.swift @@ -217,7 +217,7 @@ extension YLS { request.httpMethod = "PUT" request.addValue("application/json", forHTTPHeaderField: "Content-Type") do { - let events = self.caches.map { $0.fetchDictionary() } + let events = ["logRequestList": self.caches.map { $0.fetchDictionary() }] self.caches = [] let data = try JSONSerialization.data(withJSONObject: events, options: .prettyPrinted) request.httpBody = data