Closed LivioGama closed 7 years ago
Hello @LivioGama, thanks for the catch! I'd fix this issue with a more generic approach - see #44 @s4cha what do you think?
Totally agree for a more generic approach, this is what I was thinking about, thanks !
@maxkonovalov The fix looks good to me ! Thanks for being so reactive as usual :)
Should be solved in 2.0.4 https://github.com/freshOS/ws/releases/tag/2.0.4 Kudos to you guys 👏
I send a multipart request with a picture and other parameters. The string ones work but the Double ones don't. I checked the file
WSRequest.swift
in methodfunc sendMultipartRequest(_ resolve: @escaping (_ result: (Int, [AnyHashable: Any], JSON)) -> Void, reject: @escaping (_ error: Error) -> Void, progress:@escaping (Float) -> Void)
I add the double case like this :
Would be cool if you could fix it officially