Skip to content

Commit bb28bd6

Browse files
authored
fix: Removes nullable from DBUser password (#564)
1 parent b75f7cc commit bb28bd6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/atlas/create/createDBUser.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ export const CreateDBUserArgs = {
1414
// AtlasPassword123, which are easily guessable and exploitable. We're instructing
1515
// the model not to try and generate anything and instead leave the field unset.
1616
password: AtlasArgs.password()
17-
.optional()
18-
.nullable()
17+
.nullish()
1918
.describe(
2019
"Password for the new user. IMPORTANT: If the user hasn't supplied an explicit password, leave it unset and under no circumstances try to generate a random one. A secure password will be generated by the MCP server if necessary."
2120
),

0 commit comments

Comments
 (0)