diff --git a/src/doc/changelog.es.md b/src/doc/changelog.es.md index 90a5fbe..6c3736c 100644 --- a/src/doc/changelog.es.md +++ b/src/doc/changelog.es.md @@ -1,3 +1,7 @@ +## v3.0.7 + +- Arreglado fallo en las consultas iniciales + ## v3.0.6 - AƱadido soporte para la cabecera `Fiware-ServicePath` usada por el soporte diff --git a/src/doc/changelog.md b/src/doc/changelog.md index 15751fd..dd35552 100644 --- a/src/doc/changelog.md +++ b/src/doc/changelog.md @@ -1,3 +1,7 @@ +## v3.0.7 + +- Fix bug in the initial queries + ## v3.0.6 - Add support for the `Fiware-ServicePath` used by the tenant/service feature diff --git a/src/js/main.js b/src/js/main.js index 77654de..31d1015 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -171,9 +171,9 @@ requestInitialData.call(this, entities, 0); }; - var handlerReceiveEntities = function handlerReceiveEntities(data) { - for (var entityId in data.elements) { - MashupPlatform.wiring.pushEvent("entityOutput", JSON.stringify(data.elements[entityId])); + var handlerReceiveEntities = function handlerReceiveEntities(elements) { + for (var entityId in elements) { + MashupPlatform.wiring.pushEvent("entityOutput", JSON.stringify(elements[entityId])); } };