You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is strange because useMeiliSearch("movies") is working without errors.
Is perhaps an adminApiKey required or is there something else wrong with $meilisearch
server/api/search/add/[document].ts
export default defineEventHandler(async (event) => {
const addRecordRes = await $meilisearch.index("movies").addDocuments([
{
id: 999999994234,
title: "Batman Unmasked: The Psychology of the Dark Knight",
poster: "https://image.tmdb.org/t/p/w1280/jjHu128XLARc2k4cJrblAvZe0HE.jpg",
overview: "Delve into the world of Batman and the vigilante justice tha",
release_date: "2008-07-15",
},
])
return { myCustomResponse: "Document is on the way....", addRecordRes }
})
The text was updated successfully, but these errors were encountered:
This is strange because
useMeiliSearch("movies")
is working without errors.Is perhaps an
adminApiKey
required or is there something else wrong with$meilisearch
server/api/search/add/[document].ts
The text was updated successfully, but these errors were encountered: