Skip to content

Commit

Permalink
Update packages/schema/lib/functional-constraints/AuthFieldisSafe.js
Browse files Browse the repository at this point in the history
Co-authored-by: Kola Erinoso <[email protected]>
  • Loading branch information
Natay and kola-er authored Jan 30, 2025
1 parent 6c75d36 commit 91622cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const checkAuthField = (field) => {
if (FORBIDDEN_KEYS.includes(field.key) && field.isSafe === true) {
errors.push(
new jsonschema.ValidationError(
`Cannot set isSafe=true for the sensitive key "${field.key}".`,
`cannot set isSafe as true for the sensitive key "${field.key}".`,
field,
'/AuthFieldSchema',
'instance.key',
Expand Down

0 comments on commit 91622cd

Please sign in to comment.