tristanhimmelman/AlamofireObjectMapper

Getting my response in response.data

Closed this issue · 1 comments

Hi, I am getting my correct response in response.data instead of response.result.value

Is there any solution to this?

response.data will always contain the data returned by Alamofire. Maybe there is a problem with your Mappable definition which is causing the mapping to fail and thus be empty in response.result.value.

Hope this helps