send created at

This commit is contained in:
Viet-Tien Ngoc 2024-08-06 12:55:07 +07:00
parent e6c646e4c8
commit c9b630fecf
3 changed files with 41 additions and 40 deletions

View file

@ -91,6 +91,7 @@ async function clickhouseQuery(data: {
event_id: eventId,
visit_id: visitId,
event_name: eventName,
created_at: createdAt ?? getDateFormat(new Date()),
};
jsonBlobs.blobs.forEach((blob, i) => {
if (i >= 20) return; // 20 is the max number of blobs