mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 01:25:37 +01:00
Use bigint.
This commit is contained in:
parent
5390370b3d
commit
4d41527f94
2 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ export interface WebsiteEventDataFields {
|
||||||
field: string;
|
field: string;
|
||||||
type: number;
|
type: number;
|
||||||
value?: string;
|
value?: string;
|
||||||
total: number;
|
total: bigint;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface WebsitePageviews {
|
export interface WebsitePageviews {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ export default async (
|
||||||
obj.records += row.total;
|
obj.records += row.total;
|
||||||
return obj;
|
return obj;
|
||||||
},
|
},
|
||||||
{ fields: results.length, records: 0 },
|
{ fields: results.length, records: BigInt(0) },
|
||||||
);
|
);
|
||||||
|
|
||||||
return ok(res, data);
|
return ok(res, data);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue