Refactor construction of OverviewsApi
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user