chore(api): migrate from express-validator 5 to 6 (#40363)

This commit is contained in:
Oliver Eyton-Williams
2020-12-03 16:47:38 +01:00
committed by GitHub
parent c75b28faf2
commit 4f4bbfbb6c
9 changed files with 51 additions and 81 deletions

View File

@ -1,5 +1,5 @@
import debug from 'debug';
import { check } from 'express-validator/check';
import { check } from 'express-validator';
import { ifNoUser401, createValidatorErrorHandler } from '../utils/middleware';
import { themes } from '../../common/utils/themes.js';