Refactor construction of OverviewsApi

This commit is contained in:
Javier Goizueta
2016-01-26 11:49:41 +01:00
parent ef9e9f8c78
commit 3b6abb5c9f
5 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
// TODO: use pgQueryRunner parameter directly
function OverviewsApi(queryTablesApi) {
this.pgQueryRunner = queryTablesApi.pgQueryRunner;
function OverviewsApi(pgQueryRunner) {
this.pgQueryRunner = pgQueryRunner;
}
module.exports = OverviewsApi;