Skip to content

Commit 530a035

Browse files
pass dbtable on queryDomain instead of version value
1 parent 30a4fba commit 530a035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const query = ({ reportName,
7474
const limitParam = parseLimitParam(limit);
7575
const pageParam = parsePageParam(page);
7676
if (domain && reportName !== 'download') {
77-
return queryDomain(domain, reportName, limitParam, pageParam, before, after, version);
77+
return queryDomain(domain, reportName, limitParam, pageParam, before, after, dbTable);
7878
}
7979
const recordQuery = Object.assign({ report_name: reportName, report_agency: reportAgency });
8080
const timeQuery = buildTimeQuery(before, after);

0 commit comments

Comments
 (0)