Merge pull request #1303 from umami-software/brian/um-19-bigint-breaking-ui

fix bigint ui
This commit is contained in:
Mike Cao
2022-07-15 23:38:39 -07:00
committed by GitHub

View File

@@ -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 = {