Don’t set httpBody for TSRequests

This commit is contained in:
Max Radermacher 2025-04-03 20:46:15 -05:00 committed by GitHub
parent 947620f2c8
commit c543747959
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -458,8 +458,7 @@ public class OWSURLSession: OWSURLSessionProtocol {
request = try self.endpoint.buildRequest(
rawRequestUrl.absoluteString,
method: method,
headers: httpHeaders,
body: requestBody
headers: httpHeaders
)
} catch {
owsFailDebug("Missing or invalid request: \(rawRequestUrl).")