multiple bug fixes

This commit is contained in:
Christian Beutel
2024-03-17 23:25:01 +01:00
parent eae455112b
commit abecaa4497
16 changed files with 69 additions and 34 deletions

View File

@@ -4,7 +4,7 @@ export async function POST(event: RequestEvent) {
const data = await event.request.json()
try {
const r = await event.locals.ms.index(event.params.index as string).search(data.q, data.options);
const r = await event.locals.ms.index(event.params.index as string).search(data.q, data.options);
return json(r);
} catch (e: any) {
console.log(e);