From 7f6f36361131978807dd7b02f2825a1a86402732 Mon Sep 17 00:00:00 2001 From: Muzahidul Islam Date: Wed, 25 Oct 2023 20:32:13 +0600 Subject: [PATCH] Upload task body issue fixed --- Sources/Customization/DefaultEventDispatcher.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/Customization/DefaultEventDispatcher.swift b/Sources/Customization/DefaultEventDispatcher.swift index 4d4bffc0..2852d259 100644 --- a/Sources/Customization/DefaultEventDispatcher.swift +++ b/Sources/Customization/DefaultEventDispatcher.swift @@ -183,7 +183,6 @@ open class DefaultEventDispatcher: BackgroundingCallbacks, OPTEventDispatcher { var request = URLRequest(url: event.url) request.httpMethod = "POST" - request.httpBody = event.body request.addValue("application/json", forHTTPHeaderField: "Content-Type") // send notification BEFORE sending event to the server