mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
checkpoint
This commit is contained in:
parent
44f3bd3698
commit
4f12933f42
1 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ import {
|
||||||
import moment from 'moment-timezone';
|
import moment from 'moment-timezone';
|
||||||
|
|
||||||
BigInt.prototype.toJSON = function () {
|
BigInt.prototype.toJSON = function () {
|
||||||
return this.toString();
|
return Number(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
|
|
@ -235,10 +235,10 @@ export function runAnalyticsQuery(relational, clickhouse) {
|
||||||
const db = getAnalyticsDatabase();
|
const db = getAnalyticsDatabase();
|
||||||
|
|
||||||
if (db === POSTGRESQL || db === MYSQL) {
|
if (db === POSTGRESQL || db === MYSQL) {
|
||||||
return runQuery(relational);
|
return relational();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (db === CLICKHOUSE) {
|
if (db === CLICKHOUSE) {
|
||||||
return runQuery(clickhouse);
|
return runQuery(clickhouse());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue