mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 17:56:11 +00:00
update JS petstore client
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
exports.constructFromObject = function(data, obj) {
|
||||
if (data) {
|
||||
obj = obj || new exports();
|
||||
ApiClient.constructFromObject(data, obj, Animal);
|
||||
ApiClient.constructFromObject(data, obj, 'Animal');
|
||||
|
||||
}
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user