Skip to content

Commit 855671f

Browse files
committed
fix build
1 parent 0ecc037 commit 855671f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import fs from 'fs';
44
import mime from 'mime-types';
55
import fetch, { BodyInit, HeadersInit, RequestInit, Response } from 'node-fetch';
66
import os from 'os';
7-
import https from 'https';
87
import { ParsedUrlQueryInput } from 'querystring';
98
import { pipeline } from 'stream';
109
import { FileResult, fileSync } from 'tmp';
@@ -1024,7 +1023,7 @@ export const trackEvent = async (
10241023
},
10251024
body: JSON.stringify({
10261025
name: eventName,
1027-
properties: eventProperties,
1026+
properties: { session_id: sessionId, ...eventProperties },
10281027
}),
10291028
});
10301029

0 commit comments

Comments
 (0)