mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +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';
|
||||
|
||||
BigInt.prototype.toJSON = function () {
|
||||
return this.toString();
|
||||
return Number(this);
|
||||
};
|
||||
|
||||
const options = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue