Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix bigint ui

Brian Cao08cd77817794
diff --git a/lib/db.js b/lib/db.js
index 12bfd6d3c..61fcac911 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -2,7 +2,7 @@ import { PrismaClient } from '@prisma/client';
import chalk from 'chalk';
BigInt.prototype.toJSON = function () {
- return this.toString();
+ return Number(this);
};
const options = {