Commit 9644dd5c authored by Sven Franck's avatar Sven Franck

jIO: switched from pop() to shift() to identify param object

parent 767cdb51
...@@ -3259,7 +3259,7 @@ function enableRestAPI(jio, shared) { // (jio, shared, options) ...@@ -3259,7 +3259,7 @@ function enableRestAPI(jio, shared) { // (jio, shared, options)
} }
param.kwargs = deepClone(param.kwargs); param.kwargs = deepClone(param.kwargs);
} else { } else {
param.kwargs = deepClone(type_dict.object.pop()); param.kwargs = deepClone(type_dict.object.shift());
} }
param.solver = {}; param.solver = {};
param.options = deepClone(type_dict.object.shift()) || {}; param.options = deepClone(type_dict.object.shift()) || {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment