Merge pull request #1303 from umami-software/brian/um-19-bigint-breaking-ui
fix bigint ui
This commit is contained in:
@@ -2,7 +2,7 @@ import { PrismaClient } from '@prisma/client';
|
|||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
|
|
||||||
BigInt.prototype.toJSON = function () {
|
BigInt.prototype.toJSON = function () {
|
||||||
return this.toString();
|
return Number(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
const options = {
|
const options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user