Skip to content

Commit

Permalink
Upload task body issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
muzahidul-opti committed Oct 25, 2023
1 parent 043a79b commit 7f6f363
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Customization/DefaultEventDispatcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f6f363

Please sign in to comment.