Got rid of some warnings.

This commit is contained in:
baldo 2022-07-28 12:19:40 +02:00
parent 077cb2ee21
commit f296c6fe26
2 changed files with 10 additions and 7 deletions
server/validation

View file

@ -1,6 +1,7 @@
// ATTENTION: Those constraints are no longer the same file as for the client / admin interface.
// Make sure changes are also reflected in /shared/validation/constraints.js.
// noinspection RegExpSimplifiable
const CONSTRAINTS = {
id:{
type: 'string',