mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 08:07:12 +01:00
Merge pull request #1303 from umami-software/brian/um-19-bigint-breaking-ui
fix bigint ui
This commit is contained in:
commit
ff18a596ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue