diff --git a/bower.json b/bower.json index 0760925..2093e31 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-ws-observer", "description": "Strolch Polymer WebSocket observer update handler extension", - "version": "0.1.3", + "version": "0.1.4", "authors": [ "Robert von Burg" ], diff --git a/strolch-wc-ws-observer.html b/strolch-wc-ws-observer.html index bfaca4d..e010ba5 100644 --- a/strolch-wc-ws-observer.html +++ b/strolch-wc-ws-observer.html @@ -94,7 +94,7 @@ Object.keys(byType).forEach(function (k) { try { - byType[k](msg.objectType, msg.type, msg.data); + byType[k](msg.msgType, msg.objectType, msg.type, msg.data); } catch (e) { console.error("Failed to update " + k + " for " + msg.objectType + " " + msg.type + ": " + e); console.error(e);