Use bigint.

This commit is contained in:
Brian Cao committed 2023-07-11 18:47:52 -07:00
1 parent 5390370b3d
commit 4d41527f94
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ export interface WebsiteEventDataFields {
field: string;
type: number;
value?: string;
total: number;
total: bigint;
}
export interface WebsitePageviews {
+1 -1
View File
@@ -35,7 +35,7 @@ export default async (
obj.records += row.total;
return obj;
},
{ fields: results.length, records: 0 },
{ fields: results.length, records: BigInt(0) },
);
return ok(res, data);