mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Added handling for BigInt values.
This commit is contained in:
parent
5e0c5643c6
commit
a1d0235416
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
import { PrismaClient } from '@prisma/client';
|
||||
import chalk from 'chalk';
|
||||
|
||||
BigInt.prototype.toJSON = function () {
|
||||
return this.toString();
|
||||
};
|
||||
|
||||
const options = {
|
||||
log: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue