Changed kafka method signature.

This commit is contained in:
Mike Cao 2024-07-05 02:29:12 -07:00
parent 26462cffbc
commit 72b3b6158a
4 changed files with 6 additions and 6 deletions

View file

@ -101,9 +101,9 @@ async function clickhouseQuery(data: {
});
if (kafka.enabled) {
await sendMessages(messages, 'session_data');
await sendMessages('session_data', messages);
} else {
await insert('event_data', messages);
await insert('session_data', messages);
}
return data;