Skip to content

Commit 19e4b10

Browse files
committed
vale
1 parent 95801f9 commit 19e4b10

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/includes/integrations/mongoose-middleware.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import User from './model/User.js';
66

77
mongoose.connect("<connection string>");
88

9-
// start-create-user-bad-email
9+
// start-create-user-improper-email
1010
const user = await User.create({
1111
name: 'Jess Garica',
1212
email: 'jgarciaemail.com',
1313
});
14-
// end-create-user-bad-email
14+
// end-create-user-improper-email
1515

1616
// start-create-user-ok-email
1717
const user = await User.create({

source/integrations/mongoose-get-started.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ In this tutorial, you will perform the following actions:
280280
.. note::
281281

282282
By default, Mongoose queries return thenables, which are objects with
283-
some of the properties of a JavaScript Promise. You can append the
283+
some properties of a JavaScript Promise. You can append the
284284
``exec()`` method to a query to receive a true JavaScript Promise. To
285285
learn more about working with promises in Mongoose, see the `Promises
286286
guide <https://mongoosejs.com/docs/promises.html>`__ in the Mongoose
@@ -592,8 +592,8 @@ In this tutorial, you will perform the following actions:
592592

593593
.. input:: /includes/integrations/mongoose-middleware.js
594594
:language: javascript
595-
:start-after: start-create-user-bad-email
596-
:end-before: end-create-user-bad-email
595+
:start-after: start-create-user-improper-email
596+
:end-before: end-create-user-improper-email
597597
:emphasize-lines: 3
598598

599599
.. output::

0 commit comments

Comments
 (0)