update api to new CH columns

This commit is contained in:
Francis Cao
2022-10-08 16:12:33 -07:00
parent 36edbe2f4c
commit 96add409b6
19 changed files with 74 additions and 48 deletions

View File

@@ -66,7 +66,7 @@ export async function getSession(req) {
if (!sessionId) {
try {
session = await createSession(websiteId, {
session = await createSession(websiteId, website_uuid, {
session_uuid,
hostname,
browser,
@@ -98,6 +98,7 @@ export async function getSession(req) {
return {
website_id: websiteId,
website_uuid: website_uuid,
session,
};
}