fix: Die Netzwerkschicht uebersetzt - leeres Dictionary braucht [:]
Der Vorgabewert von weitereFelder in schickeDatei stand auf [], was Swift als leeres Array liest. Der einzige Uebersetzungsfehler in den 2600 blind geschriebenen Zeilen der Stufe 1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -21,3 +21,7 @@ deploy/.env
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
.vscode/
|
.vscode/
|
||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
|
# Xcode
|
||||||
|
**/xcuserdata/
|
||||||
|
DerivedData/
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ actor CertainClient {
|
|||||||
func schickeDatei<A: Decodable>(_ pfad: String, feldname: String = "file",
|
func schickeDatei<A: Decodable>(_ pfad: String, feldname: String = "file",
|
||||||
dateiname: String, inhalt: Data,
|
dateiname: String, inhalt: Data,
|
||||||
typ: String = "application/octet-stream",
|
typ: String = "application/octet-stream",
|
||||||
weitereFelder: [String: String] = [],
|
weitereFelder: [String: String] = [:],
|
||||||
abfrage: [URLQueryItem] = []) async throws -> A {
|
abfrage: [URLQueryItem] = []) async throws -> A {
|
||||||
let grenze = "Grenze-\(UUID().uuidString)"
|
let grenze = "Grenze-\(UUID().uuidString)"
|
||||||
var koerper = Data()
|
var koerper = Data()
|
||||||
|
|||||||
Reference in New Issue
Block a user