Fix: Forgot to add validation constraint for new filter.

This commit is contained in:
baldo 2017-08-13 18:31:39 +02:00
parent d64c1c3099
commit 21f18a1330

View file

@ -65,6 +65,11 @@ angular.module('ffffng').constant('Constraints', {
type: 'string', type: 'string',
regex: /^(disabled|active|pending)$/, regex: /^(disabled|active|pending)$/,
optional: true optional: true
},
site: {
type: 'string',
regex: /^[a-z0-9_-]{1,32}$/,
optional: true
} }
}, },
rest: { rest: {