chore: フォルダ名には最低1文字要求する様に
This commit is contained in:
parent
bae2d3cfd7
commit
f39f749f3a
|
@ -43,7 +43,7 @@ export const meta = {
|
|||
export const paramDef = {
|
||||
type: 'object',
|
||||
properties: {
|
||||
name: { type: 'string', default: 'Untitled', maxLength: 200 },
|
||||
name: { type: 'string', default: 'Untitled', minLength: 1, maxLength: 200 },
|
||||
parentId: { type: 'string', format: 'misskey:id', nullable: true },
|
||||
},
|
||||
required: [],
|
||||
|
|
|
@ -49,7 +49,7 @@ export const paramDef = {
|
|||
type: 'object',
|
||||
properties: {
|
||||
folderId: { type: 'string', format: 'misskey:id' },
|
||||
name: { type: 'string', maxLength: 200 },
|
||||
name: { type: 'string', minLength: 1, maxLength: 200 },
|
||||
parentId: { type: 'string', format: 'misskey:id', nullable: true },
|
||||
},
|
||||
required: ['folderId'],
|
||||
|
|
Loading…
Reference in New Issue