This commit is contained in:
Emily
2024-10-07 15:26:57 +02:00
parent c2846ca595
commit b27cacf4e6
50 changed files with 512 additions and 583 deletions

View File

@@ -96,6 +96,10 @@ export async function getRequestData(event: H3Event<EventHandlerRequest>, option
if (!allowLitlyx) return setResponseStatus(event, 400, 'no access to project');
}
return { from, to, pid, project_id, project, user, limit, slice, schemaName, model }
return {
from: from as string,
to: to as string,
pid, project_id, project, user, limit, slice, schemaName, model
}
}