Skip to content

Commit 1291d56

Browse files
internetsadboyterakilobyte
authored andcommitted
bug: code-snippet invalid function call (ie typo)
1 parent d7b599e commit 1291d56

File tree

1 file changed

+1
-1
lines changed
  • source/code-snippets/indexes

1 file changed

+1
-1
lines changed

source/code-snippets/indexes/text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async function run() {
2626
const projection = { fullplot: 1 };
2727
const cursor = movies
2828
.find(query)
29-
.projection(projection);
29+
.project(projection);
3030
// end-query
3131

3232
} finally {

0 commit comments

Comments
 (0)