Skip to content

Commit 967a7ed

Browse files
committed
correct index name
1 parent 2da4579 commit 967a7ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify/functions/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = extrovert.toNetlifyFunction(async function search(params) {
3434
let results = await Content.aggregate([
3535
{
3636
$search: {
37-
index: 'mongoose-content',
37+
index: 'mongoose-docs-content',
3838
compound: {
3939
must: [
4040
...(version ? [{

0 commit comments

Comments
 (0)