Skip to content

Commit

Permalink
Merge pull request #13551 from hasezoey/routineMDfix
Browse files Browse the repository at this point in the history
docs: routine lint for markdown code run
  • Loading branch information
vkarpov15 committed Jun 29, 2023
2 parents c6555b8 + 44ca013 commit 9482716
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ query.select('name occupation');

// execute the query at a later time
const person = await query.exec();
// Prints "Space Ghost is a talk show host."
// Prints "Space Ghost is a talk show host."
console.log('%s %s is a %s.', person.name.first, person.name.last, person.occupation);
```

Expand Down
2 changes: 1 addition & 1 deletion docs/schematypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ const authorSchema = new Schema({

const Author = mongoose.model('Author', authorSchema);

const bookSchema = new Schema({
const bookSchema = new Schema({
authorId: { type: Schema.Types.UUID, ref: 'Author' }
});
const Book = mongoose.model('Book', bookSchema);
Expand Down
8 changes: 4 additions & 4 deletions docs/tutorials/ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ To connect to a MongoDB Atlas cluster using X.509 authentication the correct opt
```javascript
const url = 'mongodb+srv://xyz.mongodb.net/test?authSource=%24external&authMechanism=MONGODB-X509';
await mongoose.connect(url, {
sslValidate: true,
tlsCertificateKeyFile: '/path/to/certificate.pem',
authMechanism: 'MONGODB-X509',
authSource: '$external'
sslValidate: true,
tlsCertificateKeyFile: '/path/to/certificate.pem',
authMechanism: 'MONGODB-X509',
authSource: '$external'
});
```

Expand Down

0 comments on commit 9482716

Please sign in to comment.