mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
fix(ios): make responseHeaders mutable to fix Swift compilation error
The variable was declared as 'let' but mutated via subscript assignment, causing iOS App Store builds to fail.
This commit is contained in:
parent
51daf67577
commit
15a12e56c5
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ public class WebDavHttpPlugin: CAPPlugin, CAPBridgedPlugin {
|
|||
return
|
||||
}
|
||||
|
||||
let responseHeaders = JSObject()
|
||||
var responseHeaders = JSObject()
|
||||
for (key, value) in httpResponse.allHeaderFields {
|
||||
if let keyStr = key as? String, let valueStr = value as? String {
|
||||
responseHeaders[keyStr.lowercased()] = valueStr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue