Merge branch 'master' into master

This commit is contained in:
Tomas Bures 2019-03-09 09:06:06 +01:00 committed by GitHub
commit 33f94034e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 78 additions and 7 deletions

View file

@ -419,6 +419,7 @@ router.post('/field/:listId', (req, res) => {
let field = {
name: (input.NAME || '').toString().trim(),
description: (input.DESCRIPTION || '').toString().trim(),
defaultValue: (input.DEFAULT || '').toString().trim() || null,
type: (input.TYPE || '').toString().toLowerCase().trim(),
group: Number(input.GROUP) || null,