mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Fixes #4185 - Correct the bug report service submission URL after updating how secrets are configured.
- introduced in https://github.com/element-hq/element-x-ios/pull/4145/commits/54f4aeda4fee11f01028944668f01502f63abc35
This commit is contained in:
committed by
Stefan Ceriu
parent
2863466755
commit
0f3d0eb34f
@@ -107,7 +107,7 @@ class BugReportService: NSObject, BugReportServiceProtocol {
|
|||||||
}
|
}
|
||||||
body.appendString(string: "--\(boundary)--\r\n")
|
body.appendString(string: "--\(boundary)--\r\n")
|
||||||
|
|
||||||
var request = URLRequest(url: baseURL.appendingPathComponent("submit"))
|
var request = URLRequest(url: baseURL)
|
||||||
request.addValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
|
request.addValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
|
||||||
|
|
||||||
request.httpMethod = "POST"
|
request.httpMethod = "POST"
|
||||||
|
|||||||
Reference in New Issue
Block a user