Merge pull request #1303 from umami-software/brian/um-19-bigint-breaking-ui
fix bigint uipull/1312/head
commit
ff18a596ee
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue