mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01: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…
Add table
Add a link
Reference in a new issue