Merge branch 'topic/swagger_fix' of https://github.com/Daxten/swagger-codegen into Daxten-topic/swagger_fix

This commit is contained in:
wing328
2017-03-06 17:20:42 +08:00

View File

@@ -88,7 +88,7 @@ open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
switch encodingResult {
case .success(let upload, _, _):
if let onProgressReady = self.onProgressReady {
onProgressReady(upload.progress)
onProgressReady(upload.uploadProgress)
}
self.processRequest(request: upload, managerId, completion)
case .failure(let encodingError):