update endpoints to support domains

This commit is contained in:
Emily
2025-01-22 17:46:59 +01:00
parent 8922507a64
commit afeaac1b0d
7 changed files with 36 additions and 25 deletions

View File

@@ -3,7 +3,7 @@ import { VisitModel } from "@schema/metrics/VisitSchema";
export default defineEventHandler(async event => {
const data = await getRequestData(event, ['GUEST', 'LIVEMODE']);
const data = await getRequestData(event, ['GUEST']);
if (!data) return;
const { project_id } = data;