Revert debugging change

This commit is contained in:
Javier Goizueta 2018-05-09 11:42:53 +02:00
parent d8ef8cb12f
commit 944ce80c1e

View File

@ -236,7 +236,7 @@ function (layer, dbConnection, callback) {
queries.phase(() => firstPhaseQueries(queries, context)); queries.phase(() => firstPhaseQueries(queries, context));
queries.phase(() => secondPhaseQueries(queries, context)); queries.phase(() => secondPhaseQueries(queries, context));
queries.run() queries.run()
.then(() => callback(null, queries.results)) .then(results => callback(null, results))
.catch(error => callback(error)); .catch(error => callback(error));
}; };