Skip to content

Commit

Permalink
return type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillef committed Sep 1, 2016
1 parent bda2fef commit d61e20c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "forge-model-derivative",
"version": "2.0.3",
"version": "2.0.4",
"description": "Asynchronous Javascript/Node.js library for the Autodesk Forge Model Derivative API.",
"homepage": "https://developer.autodesk.com/",
"repository": {
Expand Down
6 changes: 4 additions & 2 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@
response.body =body =JSON.parse (body) ;
} catch ( e ) {
}
data =_this.deserialize (response, returnType) ;
//var data =_this.deserialize (response, returnType) ;
data =body ;
}
callback (error, data, response) ;
}) ;
Expand All @@ -421,7 +422,8 @@
}
if ( response.statusCode >= 400 )
return (_reject (response)) ;
var data =_this.deserialize (response, returnType) ;
//var data =_this.deserialize (response, returnType) ;
var data =body ;
_resolve (data) ;
}
) ;
Expand Down

0 comments on commit d61e20c

Please sign in to comment.