Correcting web services unwrapping code doc
This commit is contained in:
parent
036111e6e8
commit
8e13d01357
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ var users = m.request({
|
|||
return response.data;
|
||||
},
|
||||
unwrapError: function(response) {
|
||||
return response.error;
|
||||
return JSON.parse(response).error;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue