Merge pull request #420 from automatisch/issue-417

fix: make flow.name required with 1 minimum length
This commit is contained in:
Ömer Faruk Aydın
2022-08-08 21:08:00 +03:00
committed by GitHub

View File

@@ -16,10 +16,11 @@ class Flow extends Base {
static jsonSchema = {
type: 'object',
required: ['name'],
properties: {
id: { type: 'string', format: 'uuid' },
name: { type: 'string' },
name: { type: 'string', minLength: 1 },
userId: { type: 'string', format: 'uuid' },
active: { type: 'boolean' },
},