checkpoint
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
import moment from 'moment-timezone';
|
||||
|
||||
BigInt.prototype.toJSON = function () {
|
||||
return this.toString();
|
||||
return Number(this);
|
||||
};
|
||||
|
||||
const options = {
|
||||
@@ -235,10 +235,10 @@ export function runAnalyticsQuery(relational, clickhouse) {
|
||||
const db = getAnalyticsDatabase();
|
||||
|
||||
if (db === POSTGRESQL || db === MYSQL) {
|
||||
return runQuery(relational);
|
||||
return relational();
|
||||
}
|
||||
|
||||
if (db === CLICKHOUSE) {
|
||||
return runQuery(clickhouse);
|
||||
return runQuery(clickhouse());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user