forked from loafle/openapi-generator-original
fix result not defined error in js client
This commit is contained in:
committed by
Ferris Tseng
parent
77d1d97da5
commit
3852736b40
@@ -489,7 +489,7 @@
|
||||
} else {
|
||||
for (var k in data) {
|
||||
if (data.hasOwnProperty(k))
|
||||
result[k] = exports.convertToType(data[k], itemType);
|
||||
obj[k] = exports.convertToType(data[k], itemType);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user