diff --git a/lib/db.js b/lib/db.js index 12bfd6d3..61fcac91 100644 --- a/lib/db.js +++ b/lib/db.js @@ -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 = {