Skip to content

Commit

Permalink
fix(i18n): Fix incorrect createView.help MONGOSH-1867 (#2215)
Browse files Browse the repository at this point in the history
db.createView.help() was returning createCollection instead of createView
  • Loading branch information
gagik authored Oct 11, 2024
1 parent 249fd54 commit f238af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/i18n/src/locales/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ const translations: Catalog = {
createView: {
link: 'https://docs.mongodb.com/manual/reference/method/db.createView/',
description: 'Create new view',
example: "db.createCollection('viewName', 'source', [])",
example: "db.createView('viewName', 'source', [])",
},
createUser: {
link: 'https://docs.mongodb.com/manual/reference/method/db.createUser',
Expand Down

0 comments on commit f238af9

Please sign in to comment.