mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Remove is_wide from Clickhouse events
This commit is contained in:
parent
c075621074
commit
3f3717597b
@ -92,9 +92,6 @@ const createClickhouseRow = (event: EventWithIpInfo) => {
|
||||
refreshTokenId,
|
||||
isAnonymous,
|
||||
ipInfo,
|
||||
is_wide: event.isWide,
|
||||
event_started_at: event.eventStartedAt,
|
||||
event_ended_at: event.eventEndedAt,
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
@ -208,9 +208,6 @@ export async function logEvent<T extends EventType[]>(
|
||||
const eventTypesArray = [...allEventTypes];
|
||||
const clickhouseEventData = {
|
||||
...data as Record<string, unknown>,
|
||||
is_wide: isWide,
|
||||
event_started_at: timeRange.start,
|
||||
event_ended_at: timeRange.end,
|
||||
};
|
||||
const dataRecord = data as Record<string, unknown> | null | undefined;
|
||||
const projectId = typeof dataRecord === "object" && dataRecord && typeof dataRecord.projectId === "string" ? dataRecord.projectId : "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user