Skip to content

Commit 3a3802e

Browse files
authored
DOCS-15686 Fixing Change Event Syntax error (#2360)
* DOCS-15686 Fixing Change Event Syntax error * space
1 parent c357874 commit 3a3802e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

source/reference/change-events.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,12 @@ For example:
160160

161161
.. code-block:: javascript
162162

163-
let cur = db.names.aggregate( [
164-
$changeStream: {
165-
showExpandedEvents: true
163+
let cur = db.names.aggregate( [ {
164+
$changeStream: {
165+
showExpandedEvents: true
166+
}
166167
}
167-
] )
168+
] )
168169

169170
cur.next()
170171

0 commit comments

Comments
 (0)