Started improvement of validators and respective error messages
This commit is contained in:
parent
8305494915
commit
a6228a9fd9
5 changed files with 180 additions and 22 deletions
|
|
@ -14,6 +14,9 @@ GNU Affero General Public License for more details.
|
|||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.*/
|
||||
|
||||
//config
|
||||
const config = require('../../../../config.json');
|
||||
|
||||
//npm imports
|
||||
const {validationResult, matchedData} = require('express-validator');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue