Skip to content

Commit

Permalink
Fix bug in the code for making the initial queries
Browse files Browse the repository at this point in the history
  • Loading branch information
aarranz committed Apr 4, 2016
1 parent 58db68f commit 715cb44
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/doc/changelog.es.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions src/doc/changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
}
};

Expand Down

0 comments on commit 715cb44

Please sign in to comment.