Finished up with emote management pane in adminPanel page.

This commit is contained in:
rainbow napkin 2024-12-19 22:48:23 -05:00
parent 90d67024b7
commit 41d0302ded
3 changed files with 126 additions and 11 deletions

View file

@ -18,6 +18,6 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.*/
const { check } = require('express-validator');
module.exports = {
name: (field = 'name') => check(field).escape().trim().isAlphanumeric().isLength({min: 1, max: 30}),
name: (field = 'name') => check(field).escape().trim().isAlphanumeric().isLength({min: 1, max: 14}),
link: (field = 'link') => check(field).trim().isURL()
}