Skip to content

Commit 95a0d6d

Browse files
vkarpov15hasezoey
andauthored
Update docs/connections.md
Co-authored-by: hasezoey <hasezoey@gmail.com>
1 parent 9076ad7 commit 95a0d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ connection may emit.
276276

277277
When you're connecting to a single MongoDB server (a ["standalone"](https://www.mongodb.com/docs/cloud-manager/tutorial/deploy-standalone/)), Mongoose will emit `disconnected` if it gets
278278
disconnected from the standalone server, and `connected` if it successfully connects to the standalone. In a
279-
[replica set](https://www.mongodb.com/docs/manual/replication/), Mongoose will emit 'disconnected' if it loses connectivity to the replica set primary, and 'connected' if it manages to reconnect to the replica set primary.
279+
[replica set](https://www.mongodb.com/docs/manual/replication/), Mongoose will emit `disconnected` if it loses connectivity to the replica set primary, and `connected` if it manages to reconnect to the replica set primary.
280280

281281
If you are using `mongoose.connect()`, you can use the following to listen to the above events:
282282

0 commit comments

Comments
 (0)