Skip to content

Commit c0e1da7

Browse files
committed
fix: type error
1 parent 44a01a9 commit c0e1da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/lib/analytics.worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ self.onmessage = (e: MessageEvent<ComputeMessage | ParseAndStoreMessage>) => {
338338

339339
for (const row of dayFilteredData) {
340340
if (!row.timestamp) continue;
341-
const id = getTimeId(row.timestamp);
341+
const id = getTimeId(new Date(row.timestamp));
342342
const uid = `${row.ipAddress}::${row.userAgent}`;
343343
if (chartPoints[id]) {
344344
chartPoints[id].requests++;

0 commit comments

Comments
 (0)