adapt core transport to changes in core

This commit is contained in:
nklhrstv 2020-09-09 18:16:40 +03:00
parent 3cfee15e1c
commit 080b7b4bb9

View file

@ -26,7 +26,7 @@ function CoreTransport() {
return core.get_state(model);
};
this.dispatch = function(action, model) {
return core.dispatch(action, model);
return core.dispatch(model, action);
};
this.free = function() {
core.free();