Skip to content

Commit

Permalink
Update managing-schemas.md
Browse files Browse the repository at this point in the history
Fix typo "defalt" to "default".
  • Loading branch information
sahilda authored Apr 29, 2021
1 parent 2123bf2 commit c024185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/managing-schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The simplest approach is to compile all your schemas when the application starts
<code-group>
<code-block title="JavaScript">
```javascript
const Ajv = require("ajv").defalt
const Ajv = require("ajv").default
const schema_user = require("./schema_user.json")
const ajv = new Ajv()
const validate_user = ajv.compile(schema_user)
Expand Down

0 comments on commit c024185

Please sign in to comment.