diff --git a/Sources/Osiris/HTTP.swift b/Sources/Osiris/HTTP.swift index 642d661..72b2dbf 100644 --- a/Sources/Osiris/HTTP.swift +++ b/Sources/Osiris/HTTP.swift @@ -72,7 +72,7 @@ struct HTTPRequest { } parts.append(MultipartFormEncoder.Part( name: name, - content: .binary(data, type: "image/jpeg", filename: filename ?? "image.jpeg") + content: .binaryData(data, type: "image/jpeg", filename: filename ?? "image.jpeg") )) } #endif