From cb2a48a194bdc859ef95719026b2c11a0d6dd75c Mon Sep 17 00:00:00 2001 From: Sullivan SENECHAL Date: Fri, 28 Oct 2022 17:53:23 +0200 Subject: [PATCH 1/2] style: trailling whitespace removal from readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b705cef..f76260c 100755 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ export.before = { }; ``` -(2) Errors are returned in a +(2) Errors are returned in a [Mongoose format.](https://github.com/eddyystop/joi-errors-for-forms#code-examples) ```js From cca88e7ecc2392ba293d3d2db6bc1a31d6253e3a Mon Sep 17 00:00:00 2001 From: Sullivan SENECHAL Date: Fri, 28 Oct 2022 17:53:33 +0200 Subject: [PATCH 2/2] docs: package import name fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f76260c..76cb296 100755 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ export.before = { The `validateProvidedData` hook is just like `validate.form`, but it only validates the attributes from the schema which are actually present in the request's `data` object. In short, it allows partial validation of the schema attributes. Using it as a hook looks like this: ```js -const validate = require('@featehrs-plus/validate-joi') +const validate = require('feathers-validate-joi') const attrs = require('./faqs.model') const hooks = {