Skip to content

Commit 9430960

Browse files
committed
[ClientSDKs/Javascript] JS library mods
1 parent a53d639 commit 9430960

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

client/src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414

1515
import ApiClient from './ApiClient';
16+
import AnyType from './model/AnyType';
1617
import AbstractProblem from './model/AbstractProblem';
1718
import Action from './model/Action';
1819
import ActionResult from './model/ActionResult';
@@ -120,6 +121,8 @@ export {
120121
*/
121122
ApiClient,
122123

124+
AnyType,
125+
123126
/**
124127
* The AbstractProblem model constructor.
125128
* @property {module:model/AbstractProblem}

client/src/model/ActionResult.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class ActionResult {
5151

5252
if (data.hasOwnProperty('type')) {
5353
obj['type'] = ApiClient.convertToType(data['type'], 'String');
54+
obj = ApiClient.convertToType(data, obj['type'])
5455
}
5556
}
5657
return obj;

client/src/model/QueryAction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class QueryAction {
4040
* Only for internal use.
4141
*/
4242
static initialize(obj, type) {
43-
obj['source'] = source;
43+
obj['source'] = null;
4444
}
4545

4646
/**

0 commit comments

Comments
 (0)